Skip to content

berthutapea/mern-ticket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tikons (MERN TICKET)

Fullstack open source ticket application made with MongoDB, Express, React & Nodejs (MERN)

Configuration and Setup

In order to run this project locally, simply fork and clone the repository or download as zip and unzip on your machine.

  • Open the project in your prefered code editor.
  • Go to terminal -> New terminal (If you are using VS code)
  • Split your terminal into two (run the frontend on one terminal and the server on the other terminal)

In the first terminal

$ cd frontend
$ npm install (to install frontend-side dependencies)
$ npm run start (to start the frontend)

In the second terminal

  • cd backend and Set environment variables in .env
  • Create your mongoDB connection url, which you'll use as your MONGO_URI
  • Supply the following credentials
#  --- .env  ---

NODE_ENV =
PORT =5000
MONGO_URI =
JWT_SECRET =

# --- Terminal ---

$ npm install (to install backend-side dependencies)
$ npm start (to start the backend)

Key Features

  • User registration and login
  • Authentication using JWT Tokens
  • Buy Ticket
  • View My Ticket
  • Search Ticket Buy
  • Add Note Buy Ticket
  • Close Buy Ticket
  • 404 Page and many more
  • Skeleton loading effect
  • Responsive Design

Technologies used

This project was created using the following technologies.

Frontend

  • React JS - JavaScript library that is used for building user interfaces specifically for single-page applications
  • React Hooks - For managing and centralizing application state
  • React Router Dom - To handle routing
  • Axios - For making Api calls
  • Tailwind CSS - For User Interface
  • Daisy UI - For User Interface
  • Email JS - For User Interface
  • React Icons - Small library that helps you add icons to your react apps
  • Framer Motion - For User Interface
  • React Redux - manage application state efficiently and provide a more structured mechanism for managing data
  • React Modal - For User Interface
  • React Toastify - To display interactive and responsive notifications (toasts) in web applications

Backend

  • Node JS -A runtime environment to help build fast server applications using JS
  • Express JS -The server for handling and routing HTTP requests
  • Mongoose - For modeling and mapping MongoDB data to JavaScript
  • Bcrypt JS - For data encryption
  • Jsonwebtoken - For authentication
  • Dotenv - Zero Dependency module that loads environment variables
  • Nodemon - Development utility for Node.js applications. Node.js is a runtime platform that allows you to run JavaScript on the server side.

Database

  • MongoDB - It provides a free cloud service to store MongoDB collections.

Screenshots

img-1


img-2


img-3


img-4


img-5


img-6


img-7


img-8


img-9


img-10

Author

License

MIT License

Copyright (c) 2022 Gilbert Hutapea

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.