SWS application to display companies/stock information.
The API will be running on http://localhost:3000. For the UI, you can simply open frontend/index.html
in your favourite
browser: open frontend/index.html
.
Vercel was used to host both frontend and backend apps. They are available in the following URLs:
Frontend deployment: https://sws-stocks-viewer.vercel.app
Backend deployment: https://sws-stocks-viewer-api.vercel.app
Note: integration tests were created to validate the features are working as expected.
- NestJS
- Jest
- Supertest
- Dependency Injection
- TypeORM
$ cd backend
$ npm install
# start
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
$ cd backend
$ docker-compose up -d
$ open http://localhost:3000/companies
- VueJS