Coder Social home page Coder Social logo

nil1729 / event-booking-graphql Goto Github PK

View Code? Open in Web Editor NEW
4.0 0.0 1.0 509 KB

A basic Web App built using GraphQL and MERN.

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

JavaScript 96.60% HTML 0.93% CSS 2.46%
graphql mern-stack jwt-authentication fetch context-api react-hooks chartjs react-chartjs-2 heroku-deployment hacktoberfest

event-booking-graphql's Introduction

Event Booking App

Simple GraphQL server implementation Using ReactJS, NodeJS and MongoDB.


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 With โค by Nilanjan Deb

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.