Welcome to the documentation for Fresco, the first iteration of an educational social media platform developed using Flutter for the front end, Node.js for the back end, and MySQL for the database. Fresco aims to connect learners and educators in a collaborative environment.
Mary Fency J - flutter pages developing and api binding
Before running Fresco, you need to set up Flutter, Node.js, and MySQL on your machine.
To install Flutter:
-
Visit the Flutter website and download the Flutter SDK for your operating system.
-
Extract the downloaded SDK archive to a location of your choice.
-
Add the Flutter
bin
directory to your system'sPATH
variable.Example (for macOS/Linux):
export PATH="$PATH:/path/to/flutter/bin"
-
Run
flutter doctor
in your terminal to verify the installation and check for any additional dependencies.
To install Node.js:
-
Visit the Node.js website and download the LTS (Long Term Support) version for your operating system.
-
Run the installer and follow the instructions.
-
After installation, run
node -v
andnpm -v
in your terminal to verify the installation.
To install MySQL:
-
Visit the MySQL website and download the appropriate version for your operating system.
-
Run the installer and follow the instructions.
-
Set up a MySQL user and password for your development environment.
The Fresco repository consists of two main folders:
freso/
- Contains the Flutter project for the front end of the application.fresco-rest-api/
- Contains the Node.js application for the back end of the application.
The structure of each folder is as follows:
lib/
- Contains the main Dart code for the Flutter app.assets/
- Holds static assets such as images, fonts, and configuration files.
src/
- Contains the main Node.js code for the back end.
Fresco utilizes a MySQL database with the following table design:
users
- Stores user details, including username, email, and other relevant information.posts
- Manages the posts created by users, including the post content, timestamps, and associated user ID.
Please note that this is the first iteration of the Fresco application, and it may undergo further development and improvements in subsequent iterations.
Feel free to explore the project's code and modify it to suit your requirements.