- Run the development server:
npm run dev
If you want, you can run the application using serverless
-
Run
npx netlify dev -p 5000
To run the jest unit tests:
npm run test
The API accepts at mongodb database, collections are synced automatically.
variable | default |
---|---|
DB_URI | mongodb://localhost:27017/onestep |
Application link: https://onestep-api.netlify.com//.netlify/functions/index
The code will automatically be deployed for every changes pushed to the main branch.