Skip to content

ashame/cpsc2600

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a somewhat basic restaurant menu management application. Features include secured API routes via sessionId tokens, fully functioning user signup / login, the ability to create new 'restaurants' - each with their own menu (or menus), and the ability to add items to the menu.

Also included in the project is an openapi.yml file, documenting (most) of the API routes.

Project Structure

  • /api/v1 - contains all API routes, with each route separated into it's own appropriate folder

    • /login - 1 POST route
    • /logout - 1 POST route
    • /menus - 2 POST routes (secured), 2 GET routes (one with a specific :id)
    • /register - 1 POST route
    • /restaurants - 1 POST route (secured), 3 GET routes
    • /util.js - helper authentication method for securing some API routes
  • /db - contains database connection code

  • /models - contains all models and schemas used in the project

  • /src

    • /components - all (styled) components and partials used in App.js
    • /pages - contains all pages used as routes in App.js
      • /components - contains all (styled) components used in above pages

Instructions

  1. npm install

  2. npm start OR npm run dev

Dependencies

About

Final project for a Full Stack Web Development course. Features a frontend built with React and Bootstrap, backed by MongoDB, and served with express

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages