Unhinged is an app where a user can log different sandwiches from any restaurant to keep a record of their favorite sandwiches or to see what they have tried and may venture out to try something new!
To run this program after cloning, first, cd into the client directory and run the command "npm start" in the terminal. This will start the client. Next, open a new terminal and run the below commands:
- pipenv shell
- cd server
- python seed.py
- python app.py
This will start the seed file and the database for the backend.
You can use the default "[email protected]" as the email address and password "123" to begin or create your own using the "Sign Up Here" button. Once you are logged in, there are only a couple sandwiches and restaurants in the program so far but type any letter and something should drop down for you to find!
Enjoy!
- A user will create an account
- The user will login to their account
- The user will search for either the sandwich they are eating or if they log it later, they can search by the restaurant
- The user finds the profile of the sandwich they just ate and can check it in and it will log to their account
- CREATE -> /signup -> POST == Creates a new user account
- READ -> /sandwiches/:id -> GET == Returns a list of sandwiches that you searched for
- UPDATE -> /sandwiches/:id -> PATCH == Updates your profile with the sandwich you just checked in
- DELETE -> /profile -> DELETE == Delete a sandwich from your list
- READ -> /restaurants/:id -> GET == Returns a list of restaurants when searching for sandwich
- READ -> /profile -> GET == Returns user profile and the sandwiches they have logged
useContext will be a new technology that will be used in this project
- Add a map feature
- Create a rating system to show the sandwich's average rating
- Add more restaurants in other locations