https://github.com/duynghiadev/restful-api-vercel
Mock API for project task-management
https://github.com/duynghiadev/restful-api-vercel
json-server vercel
Last synced: 2 months ago
JSON representation
Mock API for project task-management
- Host: GitHub
- URL: https://github.com/duynghiadev/restful-api-vercel
- Owner: duynghiadev
- Created: 2024-12-21T03:14:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-13T01:41:27.000Z (over 1 year ago)
- Last Synced: 2025-01-13T02:35:53.868Z (over 1 year ago)
- Topics: json-server, vercel
- Language: JavaScript
- Homepage: https://restful-api-vercel-lac.vercel.app
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RESTful API with JSON Server for Vercel
# Project Setup Guide
To run the project, follow these steps:
1. **Open two terminals**:
- In the first terminal, run the following command to start the mock API:
- In folder `database`, run:
```bash
npm start
```
- In the second terminal, run the following command to start the development server:
```bash
npm run dev
```
2. **About the Mock API**:
- The todo items are stored in the `mock` folder, which serves as a mock API folder for simulating backend interactions.