This is a the backend server for AnyMail. One stop solution for forms.
- Clone the project
npm installall the dependencies- Rename
.env.sampleto.envand replace the content in the file - Run
npx prisma migrate dev - Run
npx prisma generate - Run the server
npm run dev
- Typescript
- Express
- Prisma
- Docker
| Method | URL Pattern | Action |
|---|---|---|
| POST | /api/v1/projects | Create a Project |
| GET | /api/v1/projects | Fetch all Projects |
| GET | /api/v1/projects/:projectId | Fetch a Project By ID |
| POST | /api/v1/projects/:projectId/forms | Create a Form By Project ID |
| GET | /api/v1/projects/:projectId/forms | Fetch all Forms By Project ID |
| GET | /api/v1/forms/:formId | Fetch Form By Form ID |