Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

WebSecy Task

First clone the repository

git clone https://github.com/Abhimanyu-dev/WebSecy.git
cd WebSecy

Backend

While in WebSecy directory run the following commands:

cd backend
npm install
npm run dev

Frontend

While in WebSecy directory run the following commands:

cd frontend
npm install
npm run dev

The frontend is not completely functional though you can use postman to access all the backend routes.

Available backend routes:

Primary Route: http://localhost:8080/api/

  • /user/ : post request to create a user with email and password
  • /user/login : post request to get a user and token
  • /user/:user_id : delete request to delete a user
To access the following tasks you must pass a jwt token that you received upon login
  • /task/ : get request to get all the tasks belonging to a user
  • /task/ : post request to create a new task
  • /task/:task_id : put request to update a task
  • /task/:task_id : delete request to delete a task

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages