todo-app-backend's People
todo-app-backend's Issues
Feature: Implement logout API (API #2)
Feature: Design GraphQL API
API version: 2.0.0
Definition of done
- Schema for all the types, queries, and mutations are designed
- Schema is documented
Feature: send creation time with each todo in API #4
Definition of done
- Creation time (ms since 1.1.1970) is sent with each todo
Feature: Implement API 7
Feature: Todo should have a creation time
API version: 1.1.0
Definition of done
- When a todo is created, save the creation time to database
- Modify API 5
- API 5 is again documented for API version 1.1.0
Feature: Implement add todo (API 5)
Refactor: Change endpoint for API #3
Description:
Endpoint should be /auth/register
Definition of done:
- API endpoint is /auth/register
- Update API documentation
Problem: It is not possible to login (API #1) and logout (API #2) from multiple device
Possible solution:
- Add support multiple session in the database's session table
- When logout only delete one session
Definition of done:
- Login + Logout is possible from multiple device
- One logout does not terminate other session
Add README.md
Possible solutions:
- Learn what a readme.md is (Look at an example from the internet)
- Add readme.md files in "database/" and "server/"
Definition of done:
- Both database/ and server/ directories have readme.md files
Feature: Implement GraphQL API
Definition of done
- A project "todo-app-graphql" exists with the graphql server
- GraphQL resolvers are created using Apollo
- GraphQl resolvers should fetch data from REST API
- An REST API endpoint "/graphql" is created for all graphql queries
Add documentation to all the APIs and functions
Definition of done
- All apis are correctly documented
- All helper functions are correctly documented
Feature: Implement login api (API #1)
Feature: Implement API 4
Misc: Add TypeScript
Definition of done:
- All variables and function arguments have types
Misc: Write API documentation in a markdown (.md) file
Definition of done:
- All the APIs are well-documented in a file "apidoc.md"
MISC: Versions the APIs
Definition of done
- Current APIs are version 1.0.0
- API endpoints should start with version number. Example: "/api/v1/add-todo"
Feature: Dockerize the server
Problem: Some session id's in the database will never be deleted
Details
If sid cookie is deleted from the browser, the sid is keep remaining in the database. As the sid is deleted from the browser, there is no way to delete it from the database through logout api.
Feature: Implement API 8
Feature: Implement API #6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.