Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 786 Bytes

readme.md

File metadata and controls

45 lines (26 loc) · 786 Bytes

Getting Started

  1. Run the development server:
npm run dev
  1. Open http://localhost:5000

Serverless

If you want, you can run the application using serverless

  1. Run npx netlify dev -p 5000

  2. Open http://localhost:5000/.netlify/functions/index


Testing

To run the jest unit tests:

npm run test

Environment Variables

The API accepts at mongodb database, collections are synced automatically.

variable default
DB_URI mongodb://localhost:27017/onestep

Deployment

Application link: https://onestep-api.netlify.com//.netlify/functions/index

The code will automatically be deployed for every changes pushed to the main branch.