Giter Club home page Giter Club logo

angular-book-rental's Introduction

Angular Book Rental

Web application serving as a catalog of books.

Available at: https://angular-book-rental.herokuapp.com/

Screenshot_2

Getting started

  1. Make sure that you have Node 12.14 or newer installed. See instructions here.

  2. Make sure that you have the Angular CLI installed globally. Check details here.

    npm install -g @angular/cli
    
  3. Make sure that you have installed dependencies ('node_modules' folder) in 'library-server' folder via command:

    npm install
    

How can you Host Angular App?

  • You need to be in client ("cd client" in new terminal) folder, then just type:

    ng serve
    

How can you Host Node JS Server?

  • You need to be in server ("cd server" in new terminal) folder, then just type:

    npm run start:server
    

Admin account

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

Screenshot_7

Useful tools to work with app

Details & Settings

Changing api url for production

Change apiUrl variable in file client/src/environments/environment.prod.ts

Heroku limits

Testing

Google Chrome version we are using - 90.0.4430.78

How to check chrome version:

  • 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.

Cypress startup guide

  • You need to be in cypress ("cd cypress in new terminal") folder, then just type:

    npx cypress open
    

angular-book-rental's People

Contributors

suawek013 avatar

Stargazers

Patryk Bączek avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.