Giter Site home page Giter Site logo

saurav9284 / book-library-ideaclan Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 482 KB

E-Book is an online book library where users can easily buy or borrow books, while administrators have the capability to add, delete, and update books.

Home Page: https://book-library-saurav01.netlify.app/

JavaScript 94.29% HTML 4.70% CSS 1.00%
apollo-client apollo-server bcrypt chakra-ui context express graphql jsonwebtoken mongodb mongoose nodejs react react-router

book-library-ideaclan's Introduction

๐Ÿ“™ Book-Library-IdeaClan

E-Book is an online book library where users can easily buy or borrow books, while administrators have the capability to add, delete, and update books.โšก.

๐ŸŸข Backend :-

๐ŸŸก GitHub Repo :- https://github.com/Saurav9284/Book-Library-Backend

๐ŸŸก Backend Deploy :- https://book-library-backend-saurav.vercel.app/

๐ŸŸข Frontend :-

๐ŸŸก GitHub Repo :- https://github.com/Saurav9284/Book-Library-Frontend

๐ŸŸก Frontend Deploy :- https://book-library-saurav01.netlify.app/

๐ŸŽฅ Demo Videos :-

๐ŸŸข Tech Stacks :-

Frontend

  • Chakra UI
  • auth-contex
  • React
  • Apollo Client
  • Router dom

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • GraphQL
  • Apollo Server

๐ŸŸข Admin and User Credentials :-

Admin

User

๐ŸŸข Installation and Setup :-

Frontend

  1. Clone the repository.
  2. Navigate to the frontend directory.
  3. Run npm install to install dependencies.
  4. Run npm run start to start the development server.

Backend

  1. Clone the repository.
  2. Navigate to the backend directory.
  3. Run npm install to install dependencies.
  4. Rename sample.env.txt to .env and fill in the necessary environment variables.
  5. Run node index.js to start the development server.

๐ŸŸข Images :-

Admin DashBoard

Screenshot 2024-03-17 120959

User DashBoard

Screenshot 2024-03-17 121213

Login

Screenshot 2024-03-17 120803

Register

Screenshot 2024-03-17 120848

User Profile

Screenshot 2024-03-17 121113

API Endpoints

API's are built with graphQL

Queries

๐ŸŸข books: Get all books

๐ŸŸข book: Get a single book

๐ŸŸข users: Get all users

๐ŸŸข user: Get a single user profile

Mutations

๐ŸŸ  createBook: Create a new Book

CreateBook

๐ŸŸ  updateBook: Update a Book

UpdateBook

๐ŸŸ  deleteBook: Delete a Book

DeleteBook

๐ŸŸ  createUser: Register a new user

CreateUser

๐ŸŸ  loginUser: Login a user

LoginUser

๐ŸŸ  Borrowbook: Borrow book

BorrowBook

๐ŸŸ  passwordChange: Change a user's password

๐ŸŸ  deleteUser: Delete a user

Note: Only Admin can Create , Update , Delete books

๐ŸŸข Created by Saurav Chavan

book-library-ideaclan's People

Contributors

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