- Visual Studio Code
- Node.js
- (optional)Docker Desktop
The programs in above must be installed.
- Clone the repo
git clone https://github.com/malisasmaz/ionapi.git
-
Open terminal in project folder.
-
Run command to install dependencies.
npm install
- Run command to create build.
npm run build
- Local: Run command
npm run start
- Docker: Run command
docker-compose up
Run command to run tests
npm run test
I use TypeScript and Express.js to create REST API. Mocha and Chai for tests.
-
I used Express js for API operations. It is one of the most starred npm packages and a great option for building APIs 😀.
-
I use Mocha and Chai for API test operations. I added tests for each operations.
- MongoDb or other DB implementation can be add (with typeORM)
- Can be add