FlutterCart is an e-commerce application with a Flutter frontend and a Node.js backend powered by MongoDB. This project allows users to browse and purchase products in an online store.
Before you begin, ensure you have the following prerequisites installed:
-
Clone the current repository:
git clone https://github.com/Kaizoku01/Flutter_Cart-backend.git
-
Clone the frontend repository:
git clone https://github.com/Kaizoku01/Flutter_Cart-frontend.git
-
Install dependencies:
cd Flutter_Cart-backend npm install
-
Create a
keys.js
file in thesrc
directory to store your keys. This file should export the MongoDB and Razorpay keys as follows:// src/keys.js module.exports = { RAZORPAY_ID, RAZORPAY_SECRET, MONGODB_URI };
-
For a one-time server start:
npm start
-
For development with
nodemon
:npm run dev
The server should now be running at http://localhost:5000.
We welcome contributions! Feel free to open issues or submit pull requests.