Skip to content

rafaelmonteiro/sws-stocks-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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.

Live Deployment

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

Backend

Note: integration tests were created to validate the features are working as expected.

Technology stack

  • NestJS
  • Jest
  • Supertest
  • Dependency Injection
  • TypeORM

Local installation

$ cd backend
$ npm install

Running the app

# start
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Setup Backend through Docker (optional)

$ cd backend
$ docker-compose up -d
$ open http://localhost:3000/companies

Frontend

Technology stack

  • VueJS

About

App that displays companies/stock information. Backend: NestJS + Typescript + SQLite. Frontend: VueJS

Topics

Resources

Stars

Watchers

Forks