Clone this repository
https://github.com/usmanIITR/ts_app.git Migrate to the root directory and install all the required dependencies by running
- flutter pub get
- Create MongoDB Project & Cluster
- Connect to the cluster using Drivers and get the connection string.
- Put that connection string in server/index.js
- Head to constants/Globalveriables.dart and replace the uri with your IP address.
- Create Cloudinary Project, and enable the unsigned operation in settings.
- Head to lib\features\admin\services\admin_service.dart, update the cloudinaryCloudName and cloudinaryUploadPreset present in the uploadImages() method.
Now, run the following commands, to migrate to the server folder, install the necessary dependencies, and run the server locally.
- cd server
- npm install
- npm run dev (to run index.js using nodemon) OR npm start (to run index.js)