Web application serving as a catalog of books.
Available at: https://angular-book-rental.herokuapp.com/
-
Make sure that you have Node 12.14 or newer installed. See instructions here.
-
Make sure that you have the Angular CLI installed globally. Check details here.
npm install -g @angular/cli
-
Make sure that you have installed dependencies ('node_modules' folder) in 'library-server' folder via command:
npm install
-
You need to be in client ("cd client" in new terminal) folder, then just type:
ng serve
-
You need to be in server ("cd server" in new terminal) folder, then just type:
npm run start:server
e-mail: admin
password: admin
If admin is blocked you can change permission in database by editing permission to 'admin' at Users table or add new user by database with email 'admin' and password 'admin'. Then you can configure new admin account by logging in on site
- Code edit - Visual Studio Code: https://code.visualstudio.com/
- Development workflow - Github Desktop: https://desktop.github.com/
- Browse database - DataDB Browser: https://sqlitebrowser.org/dl/
- Database Diagram Online - https://app.quickdatabasediagrams.com/#/d/zIDYvq
Change apiUrl variable in file client/src/environments/environment.prod.ts
- If an app has a free web dyno, and that dyno receives no web traffic in a 30-minute period, it will sleep.
- Personal accounts are given a base of 550 free dyno hours each month. https://devcenter.heroku.com/articles/free-dyno-hours
- Click on the Menu icon in the upper right corner of the screen.
- Next click on Help, and then About Google Chrome.
- Your Chrome browser version number can be found here.
-
You need to be in cypress ("cd cypress in new terminal") folder, then just type:
npx cypress open