BOU is a web application that helps you pay faster in a clothes shop!
- React
- JavaScript
- MongoDB
- Express
- NodeJs
- PassportJS
- HTML5
- CSS
NodeJs Previous installation of Nodejs is required. If you don't have it, go to https://nodejs.org/es/download/. The user must have Node >= 8.10 y npm >= 5.6 installed in his machine.
MongoDb Expects a Mongo Server to be running on Mongo Atlas DataBase, and it uses a database called "BouDB" with the collections "users", "shops", "products". If running locally, install MongoDB. To install it just go to: MongoDB Community Server
Once installed, on the project's root run npm install mongodb --save to install the MongoDB driver as well as its dependencies.
For this project, you are expected to run front-end and backend. So, make sure tou are running the server before running the front. To run backend:
- Get in the folder of the project
- Open the public folder
- Install dependencies with the package manager yarn
- Deploy the project
cd Bou
cd public
yarn install
yarn start
Server runs on http://localhost:8000
To run frontend:
- Get in the folder of the project
- Open the front folder
- Install dependencies with the package manager yarn
- Deploy the project
cd Bou
cd front
yarn install
yarn start
Server runs on http://localhost:3000
In order to run locally you must create a .env file containing any environment variables; DB_NAME= <database_name>, DB_URL=<URL_OfYour_Database> , SECRET= <secret_Session_Key>. This is going to be required by the dotenv module.
https://bou-solution.herokuapp.com
[Allan Roy Corinaldi Castaño](https://github.com/ar-corinaldi)
[Daniella Arteaga Mendoza](https://github.com/dartm05)