Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quaelin/node_api_exercise
https://github.com/quaelin/node_api_exercise
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/quaelin/node_api_exercise
- Owner: quaelin
- Created: 2023-01-26T19:05:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T18:45:33.000Z (8 months ago)
- Last Synced: 2024-05-21T19:59:14.431Z (8 months ago)
- Language: JavaScript
- Size: 517 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![tests](https://github.com/quaelin/node_api_exercise/actions/workflows/tests.yml/badge.svg)](https://github.com/quaelin/node_api_exercise/actions/workflows/tests.yml)
# Node.js API Exercise
This repo provides a basic framework for a Node.js restful API for our live
coding exercise. Be sure to have this code checked out locally and have Node/npm
set up prior to the interview.## Running locally
The app was built using Node.js 20.12.2
```sh
$ npm install
$ npm run db:create:tests
$ npm test
$ npm run db:create
$ npm run db:populate
$ npm start
```The app will then be available at http://127.0.0.1:3000/
## Working with Docker
```sh
$ cd support
$ docker-compose run --service-ports --rm --name ubuntu-node-exercise dev bash
$ nvm install
```Then follow instructions above about running locally.