Objective: Make a front-end webapp that interacts with an API which utilizes a database
- Install docker
- Use Linux/MacOS Terminal or WSL or git-bash terminal on Windows
- Make a page that allows users to login
- Make a page that will list their grocery list of which can be added to, removed from and edited
- Add a logout button to end session
- Write the API with node and expressJS
- Write following endpoints:
POST
login (username, password)GET
groceries (username)POST
grocery (username, grocery_name)DELETE
grocery (username, grocery_name)PUT
grocery (username, old_grocery_name, new_grocery_name)
- Implement the Database with Postgres
- Store a User table with needed properties
- Think of a way to protect the User tables password property
- Store a Grocery table with needed properties
- Create any other tables deemed needed
docker-compose up