Test task for Latvenergo. This project is a REST API developed as part of a test task.
- Clone the repository:
git clone https://github.com/link0fe/LE_restapi_test.git
- Open project folder;
- Run IDE:
- npm install
- Prepare env file:
- API_URL: https://dummyjson.com/products
- HOST= "your host here"
- Start the server:
- For production:
- npm start
- For development:
- npm run dev
- For testing:
- npm test
- For production: