Skip to content

This is a Full-Stack project to find products with discont around you. AngularJS, HTML5, CSS3, Bootstrap, ExpressJS, MongoDb.

Notifications You must be signed in to change notification settings

LeonelAV/foodwasteproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skylab

AngularJS AngularJS NodeJS MongoDB

Bootstrap Bower SASS Standard - JavaScript Style Guide

Zero Waste

This repo contains full-stack project ZeroWaste where shops can show their products with discount for proximity of expiration date and users can see in which shop around them is the best option.That's ake both of them save and help the enviroment.

Zerowaste use angularJs for the client part, and for the server part it is used NodeJS and ExpressJS.

Installation

You need to have installed NodeJS with npm, bower and MongoDB

Configuration env file

You need to create an .env file in the project root with the following environment variables configured:

  • Port:
    PORT=3000
  • Mongodb path and database to use:
    DB_URI=mongodb://localhost:27017/dbName

To run the server:

    npm start

All dependencies will be installed automatically

API

The server part has four end points.

/api/products -> Serves to add products to the database and get the products. /api/product -> Serves to remove and update the products /api/shop -> Serves to remove and update shops. /api/shops -> Serves to add shops and get them all.

Built with:

  • SublimeText
  • Front-end
    • AngularJS 1.6.3
    • Angular-route: 1.6.3
    • Bootstrap: 3.3.7
    • Font-awesome: 4.7.0
  • Back-end
    • express: 4.15.2
    • dotenv: 4.0.0
    • body-parser: 1.17.1
    • mongoose: 4.9.0
    • bower: 1.8.0

Authors

Leonel Meirinho

Acknowledgments

About

This is a Full-Stack project to find products with discont around you. AngularJS, HTML5, CSS3, Bootstrap, ExpressJS, MongoDb.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published