Server-side/Client-side Project (Polytech'Nice SI5 January-February 2019)
Project combining the Server Side and the Client Side web courses. Full-stack web app about listing food and their characteristics (inspired by Open Food Facts).
cd projet_client_side_vuejs
npm install
npm run serve
# Client app running at localhost:8080
cd backend_node_express
npm install
npm start
# Server listens at port 3000 or the one specified by the environnement variable: "PORT" (like Heroku does)
npm install apidoc -g # Install apidoc
./generate_doc.sh # Launches command to generate documentation
doc/index.html
database_setup
mongorestore -h <hostname> -d <database_name> -u <user> -p <password> --collection france --drop --gzip france.bson.gz
mongorestore -h <hostname> -d <database_name> -u <user> -p <password> recipes.bson
Implementation of everything about stores and pricing. - Nikita
Connection to MongoDb - Joël