Skip to content

Repository files navigation

InvKeep

An application on which I am enhancing my coding skills.
Angular with TypeScript + Node.js with Express.js + MongoDB.

Main Page View

MainPage

Create Page View

CreatePage

Details Page View

DetailsPage

Dialog View

DialogView

Before everything

Run npm install in invKeepFrontend folder.

Frontend development server

Run npm run startfe in invKeepFrontend folder for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Backend with Server

Run npm run startbe in invKeepFrontend folder to start backend server of invKeep. To reload changes introduced in backend run rs in server console. http://localhost:3000/

Database

  • Having local MongoDB run is enough to use invKeep.

Empty database

  • If you don't have installed local MongoDB -> download it from https://www.mongodb.com/try/download.
  • After installation create folders C:\data\db.
  • In C:\Program Files\MongoDB\Server\8.0\bin (default MongoDB path) run mongod.exe -> start local MongoDB.

Above steps are enough to run the app - create and load assets.

Import collection to database

  • Create database invKeepDatabase.
  • Inside created database - create assets collection.
  • Inside created database - create assetRatios collection.
  • Inside created database - create analysisFilePaths collection.
  • Import files from invKeepDatabase repository folder to previously created collections

After invKeep main page refresh, all imported assets should be displayed.

Tests

Running tests:

  • Move to invKeepTests folder.
  • Run npx cypress open command.
  • Select spec files that need to be run

Test Execution Results

TestExecutionResults

Test Suites List

TestSuitesList

About

Built entirely by hand - application on which I was enhancing my coding skills. Frontend: Angular with TypeScript ; Backend: Node.js with Express.js ; Database: MongoDB ; Tests: Cypress.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages