Clone the repository and run npm install
to install the dependencies.
Run 'npm run dev' to start the server. The server will be running on port 3001
Register a new user. The request body should contain the following fields:
- username
- password
Login a user. The request body should contain the following fields:
- username
- password
Get all files for the current user.
Create a new file. The request body should contain the following fields:
- name
Get a file by id.
Update a file by id. The request body should contain the following fields:
- content
Delete a file by id.
MIT