https://github.com/anuran-roy/gdc-wd-201-l4-milestone
https://github.com/anuran-roy/gdc-wd-201-l4-milestone
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/anuran-roy/gdc-wd-201-l4-milestone
- Owner: anuran-roy
- Created: 2022-01-21T13:18:03.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T17:49:58.000Z (over 2 years ago)
- Last Synced: 2023-03-05T22:59:34.959Z (about 2 years ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
In This milestone, you will be extending the functionality of the project we worked in the level.
The specification for this program is as follows,
## Specification
You are asked to build the same project we worked on in the level and add two new features to it.
1) A new route to mark tasks as completed. ` GET /complete_task/ `
2) A new route to view completed tasks. ` GET /completed_tasks `Completed tasks should no longer be visible in the existing tasks view.
For the other functionality, the URL routes should be exactly the same as the ones used in the level.
For bounty points, implement another route `GET /all_tasks` that renders pending and completed tasks on a single page.
You are only supposed to use in-memory variables to store data in the submission.
> Note: Please make sure your URL patterns have a trailing slash to pass the tests.
## Boilerplate code
Use the following repository as a starting point for this project: https://github.com/vigneshhari/GDC-Level-4-Milestone
to install the requirements for this project, run the following command in your terminal:
```bash
pip install -r requirements.txt
```## Testing
Run the following command to test your application.
```bash
python manage.py test
```## Submission
Once all the tests are passing, push the code to a GitHub repository and submit the link to the repo.