Skip to content

A fullstack web application for a fictive groceries store

License

Notifications You must be signed in to change notification settings

mizgaionutalexandru/freshy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freshy - a fruits&vegetables e-commerce app

GitHub last commit

A fullstack web application featuring a REST API (see docs) and a User Interface to see all the items, add them to the shopping cart and place an order. It has pagination, item filtering, sorting and many more.

It was built using Express.js (node.js), Mongoose (mongoDB) and Pug for the backend, HTML, CSS and Javascript for the frontend.

How to start after forking/ downloading

First install all the dependencies from the root folder but also ./client and ./server. Then create a file called config.env in the ./server folder. You will need to define the DB_PASS, DB_USER, DB, NODE_ENV='development' and PORT=3000. These will help you connect to your own mongo DB and start the server. After that you can use import your items:

$ node ./server/dev-data/importData.js --import

Now to check out the app you can simply run $ npm start from the root folder and your server will be up on port 3000. You can also start both servers using $ npm run both.

Things that can be added later

  • Authentification and user roles (customer, delivery, admin)
  • Order history
  • Order placement email confirmation
  • Customer notes for each item in their shopping cart
  • Nutrients for each product
  • Category filter (plus herbs and spices)
  • Different currencies and measure units

About

A fullstack web application for a fictive groceries store

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published