Skip to content
projectworlds-logo
  • Home
  • PHP
  • Python
  • AI&ML
  • Java
  • Android
  • Full Stack
  • Business Ready Scripts
  • Support
  • Menu
Projectworlds > Blog > mean c stack overflow

Tag Archives: mean c stack overflow

Online Book Store Project in MEAN Stack AngularJS MongoDB

Posted on December 11, 2021January 21, 2024 by Yugesh Verma

Book Store is a simple single page application (SPA) that lets you buy, rate and leave your comment for all the books that are available in the store. You can also see all of your purchased books history or create your own favorite books list.

Technology Used :

Book Store uses a number of open source projects to work:

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

The goal of this project is to show the core concepts of building SPA with ExpressJS and Angular. In this project I've used:

  1. Wrapped each major feature into a module
  2. Lazy-loading for most of the modules so the app can start faster
  3. Preload lazy-loaded modules after the app starts so they can be ready for use as soon as possible
  4. Shared module for compoennts, directives and pipes that can be imported into any feature module
  5. Services for each major feature
  6. Guards to prevent unauthorized users to view routes that require authentication or admin rights
  7. Interceptors for attaching JWT token to the request headers, showing notifications from the server response and error handling
  8. Custom directives
  9. Custom pipes
  10. TypeScript models
  11. Reactive forms for handling user input

Installation Steps

Book Store requires

  • MongoDB v3.6+
  • NodeJS v8+

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

  1. $ cd server
  2. $ 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

  1. $ cd server
  2. $ seedBooks

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

  1. $ cd server
  2. $ npm install (if you havent already installed the dependencies)
  3. $ npm start

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

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

Features :

  1. Anonymous users
    1. Login/Register
    2. View all books
    3. View books details, rating and comments
  2. Authenticated users
    1. Buy books
    2. Rate books
    3. Comment books
    4. View user profiles
    5. View his own purchases history
    6. Create favorite books list
    7. Can change his own avatar
  3. Admin users
    1. Add books to the store
    2. Edit books
    3. Delete books
    4. Edit/Delete offensive user comments
    5. Block/Unblock user from commenting
    6. Change unappropriate user avatars

Download Link

Buy Now Project Report ₹501

Top Paid PHP projects

  • Advance Online Examination php project ( ₹501)
  • School Billing System Project in PHP ( ₹501)
  • GST billing System Project in PHP ( ₹501)
  • Online Movie Ticket Booking System in php ( ₹501)
  • Online Banking System Project in PHP ( ₹501)
  • Online Food Ordering System In PHP ( ₹501)
  • Online Art Gallery Shop Project in PHP ( ₹501)
  • Online Crime Reporting System Project in PHP ( ₹501)
  • Placement Management System Project in PHP ( ₹301)

Top Free PHP Projects

  • Online Book Store project in php mysql
  • Online matrimonial project in php mysql
  • Online Examination System Project in Php MYSQL
  • Online Jewellery Shopping php mysql
  • Online Admission System in PHP MYSQL
  • Online Art gallery project in php mysql
  • Online Attendance System in PHP MYSQL
  • Online Examination System Project in Php MYSQL
  • Online Tours and Travels Project in PHP
  • Online Voting System Project in PHP
  • Leave Management System Project in PHP

Android Projects

  • Android Attendance System App Source Code
  • Age Calculator Android With Source Code
  • Android Calculator App Project Source Code
  • Android Fitness App Project Source Code
  • Android FTP Server Project Source Code
  • Android Weather App Project With Source Code
  • Budget Manager Android App Source Code
Projectworlds © 2025. All Rights Reserved.
A SiteOrigin Theme