nil1729 / event-booking-graphql

A basic Web App built using GraphQL and MERN.

Home Page:https://mern-gpl-nil.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Event Booking App

Simple GraphQL server implementation Using ReactJS, NodeJS and MongoDB.

  • Live Demo here.

    • Test User Credentials
      • Email: nil@gmail.com
      • Password: 1234
  • Github Repository link.


Technology and Modules used for this Project

  1. Node JS Express Framework is used as a building Backend part of this Website.
  2. MongoDB used for Database to store Users and Events Details.
  3. GarphQL is used to build APIs for this Website.
  4. React JS is used as frontend Framework for building SPA.
  5. Bootswatch Minty Theme is used as CSS Framework and the website is Responsive for all Devices.
  6. ChartJS is used for Charting the responses and Data.
  7. JWT is used for Authentication purpose.
  8. Token will be stored in Local Storage of Client Browser.
  9. Encrypt passwords with bcrypt
  10. ChartJS is used for charting the Data got from Bookings.

Run this Project on Local Environment.

  1. Prerequisites

    • NodeJS installed on your Local machine
    • MongoDB installed on your local machine or have an Atlas Account.
  2. Credentials Setup

    • Create a MongoDB Atlas Account for Host this Project Online. Find Tutorials here.
  3. Project Setup

    • Clone this Repository or Download the zip File.

       >> git clone https://github.com/nil1729/event-booking-graphql
      
    • Create a new file .env on root directory and put following secrets on that file.

         MONGO_URI= <--- MongoDB Connection URL --->
         JWT_SECRET= <--- JsonWebToken Secret Key --->
      
    • Run this command

       >> npm run dev  // to run the Full Project.
      
       >> npm run server // to start only backend server and go to http://localhost:5000 to test APIs on GraphQL Playground
      
       >> npm run Client // to start React Development server only (But it will not working alone as api depends on Backend also)
      
      

Website Preview

Made Withby Nilanjan Deb

About

A basic Web App built using GraphQL and MERN.

https://mern-gpl-nil.herokuapp.com/


Languages

Language:JavaScript 96.6%Language:CSS 2.5%Language:HTML 0.9%