Skip to content

gauravmishr/Kitabghar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kitabghar SPA (Angular 6)

Description

Kitabghar is a simple single page application (SPA) that lets you buy all the books that are available in the store. You can also see all of your purchased books history. Find books based on Title, genre, publisher, ISBN.

Tech

It uses number of open source projects to work:

  • MongoDB - Free and open-source cross-platform document-oriented database
  • Mongoose - Elegant MongoDB object modeling for NodeJS
  • NodeJS - Evented I/O for the backend
  • ExpressJS - Fast, unopinionated, minimalist web framework for NodeJS
  • JSONWebToken - Used for authorization
  • Angular - Platform that makes it easy to build applications with the web

Installation

Book Store requires

To start the database (port: 27017): Install MongoDB, open new cmd window (in project root) and run

$ cd server
$ start-mongodb

To add initial seeding: (do this step once only the first time you start the app) After you start MondoDB open new cmd window (in project root) and run

$ cd server
$ seedBooks

To start the server (port: 8000): open new cmd window (in project root) and run

$ cd server
$ npm install (if you havent already installed the dependencies)
$ npm start

To start the client (port: 4200): open new cmd window (in project root) and run

$ cd client
$ npm install (if you havent already installed the dependencies)
$ ng serve

Features

  • Anonymous users

    • Login/Register
    • View all books
    • View books details
  • Authenticated users

    • Buy books
    • Rate books
    • View user profiles
    • View his own purchases history
  • Admin users

    • Add books to the store
    • Edit books
    • Delete books

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors