Skip to content

Online BookStore is web Apllication for shoping books using Java SpringBoot and Angular8 with Mysql database.

Notifications You must be signed in to change notification settings

Ashok-reddy340/Online-BookStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Online-BookStore

Online book store is a web page(SPA) Web Application built from scratch using Java spring boot And Angular 8 with mysql database.

# POM.XML

configuration dependencies like Spring Web, Data-Rest JPA, MySql Connector, Rest Repositories....

# Spring Model class

Cretae backend Spring java classes are Customer.java and Book.java that connection with database Table instances we can configure using getters and setters methods

# Spring Controller Class

create Customercontroller and BookController class mapping with url http://localhost:4200 with @Autowired annotations by /get get customer details and book details,* .

# Rest JPA Repositories

create Customers JPARepository and Book JPARepository to map database, to a mapping subsystem to map classes onto relational tables as well as an EntityManager API to access the objects, define and execute queries

# Development servers

Run Spring web Apllicatiion for a server. Navigate to http://localhost:8012/. The app will automatically reload if you change any of the source files.

# Angular component creation

Run ng g generate component component-name --spec false to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Model class

user and book model class in model folder to connect to spring apllication

# Customer/users component

ng g components /admin/users --spec false : to create components like .html & .css & .spec & .ts files to maintain mvc structure of user page ,
ng g components /admin/users/adduser --spec false : to add users list and delete users and
ng g components /admin/users/viewuser --spec false : view of users using css and html files

Customer/books Component

ng g components /admin/book --spec false : to cretae book class to connect backend database maintaion and view of books at a bookstore web application, ng g componets /admin/book/addbook --spec false ng g componet /admin/book/viewbook --spec false

ng g components /admin/shopbook --spec false : Entire view of store to user can view and add to cart for shopping

NPM

to start project to go to project spacework and type npm install

# Development server Angular

Run Angular Apllication for a server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

About

Online BookStore is web Apllication for shoping books using Java SpringBoot and Angular8 with Mysql database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published