-
A user can create a restaurant. (Name, foodtype, address, rating etc.)
-
A user can obtain a list of restaurants.
-
A user can view details of a restaurant based on the restaurant they select from the list.
-
A user can edit and delete a restaurant.
-
A user can submit a rating for a restaurant.
-
A user can sort the list of restaurants by Highest Rating.
- Clone or Download the repository
git clone https://github.com/devanshipatel21/Noteworth.git- Go to root directory
cd noteworth- Create virtual environment and activate
python -m venv env
source env/bin/activate - In your python virtual env, install all dependencies
pip install -r requirements.txt- After environment setup, make migrations and migrate changes
python manage.py makemigraations
python manage.py migrate- Now run the server with
python manage.py runserver-
The server is up and running on http://localhost:8000
-
For test cases, run in terminal
python manage.py test