Simple bookstore app written in typescript. Credits go to: https://www.youtube.com/channel/UC29ju8bIPH5as8OGnQzwJyA for having a base tutorial.
Live demo: http://test-bookstore.herokuapp.com
- Install NodeJS 7.10.0 and NPM.
- Clone or download the repository.
- Go into the project folder, and open up terminal/cmd/powershell/git shell.
- Run
npm install
to install the dependencies. - Install mongoDB and if on Windows, set up environment variables properly (do a google search). Then run
mondgod
from the terminal/cmd. - Run
npm start
to start the app. - Go to http://localhost:3000 to view the app in action!
If you want to further develop this app, you must run
tsc
before runningnpm start
. It might be a wise idea to change thepackage.json
file's start script to"start": "tsc || nodemon"
to not have to run both commands or refresh your browser window.