Note: So far, I have only created the backend of this platform. No front-end has been created yet as I'm currently learning the tool Figma.
This was an idea of a platform where people can see potential project ideas submitted by others. It will allow authenticated users to create, view, interact and delete (their own) project ideas. Moreover, each project will also have its own comments section in which other users can choose to respond to the idea, or express interest in working togather.
I was just wanting to make myself a project tracker; a place where I could see all my upcoming project ideas. Later on, a couple of my friends asked whether they could make this 'project tracker' with me.
This sparked the idea of making this platform.
Implemented using JWT: an authentication mechanism that does not require a database to store session info.
Stored on a httpOnly cookie to prevent XSS attacks.
- Sign up
- Login
- Check login
- Logout
POST http://[api-domain]/api/auth/signup
POST http://[api-domain]/api/auth/login
GET http://[api-domain]/api/auth/isAuth
POST http://[api-domain]/api/auth/logout
- View all projects
- Open a certain project page
- Comment on a certain project (AUTH)
- Create a new project (AUTH)
- Like a certain project (AUTH)
- Delete your own project post (AUTH)
These tests can be found under the __tests__
folder.