A project that provides a basic implementation of a subway network. It includes classes for stations, lines, and a subway system that can be used to model and navigate through a subway system. The code is written in NestJS (Typescript + Node.js) and can be used as a starting point for more complex subway system projects.
To bring up the application, you MUST first:
- Clone the repository
git clone git@github.com:wenderpmachado/subway-system.git
- Install the dependencies
yarn installornpm install
- Set the environment variables
- Renaming the
.env.examplefile to.env - Fill in the secret information
- Renaming the
$ npm install# development
$ npm run docker:up:localThe API will be available at http://localhost:3000/
And the Swagger at http://localhost:3000/api
# development
$ npm run prisma:studioThe manager will be available at http://localhost:5555/
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:covReleased in 2022 Made by Wender Machado 🚀


