nodeJS <=v16.15.0
npm <=v8.5.5
MongoDB database
1. NodeJS
2. ReactJS
3. React Router
4. Bootstrap
1. NodeJS
2. Express
3. Mongoose
1. MongoDB Atlas
1. Python (batch service)
2. Postman for testing RESTful API
For this project to work you must run both the NodeJS-Backend and React-Frontend
-
Open a terminal session
-
Clone this project using git clone
-
Navigate to React-Frontend
-
Run npm install
-
Run npm start
-
Open a terminal session
-
Navigate to NodeJS-Backend
-
Run npm install
-
Create a .env file in the root of NodeJS-Backend
-
Create a value called MONGO_URI_CUSTOMER_INFO and give the link for your users database
- This database should have an orders, payments, and shippings collection
-
Create a value called MONGO_URI_INVENTORY and give the link for your inventory database
-
This database should have an actualitems and items collection
-
Navigate to NodeJS-Backend->data->phoneSpecifications.json for some example inventory items
-
-
Run npm start
-
Navigate to localhost:3000 after running both frontend and backend to view the site
-
To run once open a terminal session
-
Navigate to Batch-Service
-
pip install dotenv
-
pip install pymongo
-
Copy .env from NodeJS-Backend
-
Run **python3 basic_batch.py