Giter Site home page Giter Site logo

payment-app's Introduction

Payment Application

A demo Payment application made in MERN.

Table of Contents

Introduction

This is a full-stack payment application designed to streamline financial transactions between users. Built using the MERN stack, the application provides a secure and efficient platform for users to sign up, sign in, explore their dashboard, and seamlessly send money to other users.

Features

  • User Authentication: Easily create an account and securely log in.
  • Dashboard: Access a personalized dashboard displaying user information and other users.
  • Send Page: Initiate secure dummy money transfers to other users effortlessly.
  • Animation: Enjoy a visually appealing experience with animated elements powered by Lottie.
  • State Management: Efficiently manage application state using Recoil.

Technologies

  • Frontend:

    • React
    • React DOM
    • Lottie
    • Recoil
    • Tailwind CSS
  • Backend:

    • Node.js
    • Express.js
    • MongoDB (with Mongoose)
    • Zod for validation
    • Axios for HTTP requests

Getting Started

Prerequisites

  • Node.js and npm installed
  • MongoDB installed and running

Installation

  1. Clone the repository.

    git clone https://github.com/your-username/your-repo.git
  2. Install dependencies.

  cd payment-app
  npm install
  1. Start the server.
cd backend
node "index.js"
  1. Start the client.
cd frontend
npm install
npm run dev

Usage

This is a student project developed to gain hands-on experience with full-stack development. As you explore the application, keep in mind that its primary purpose is to showcase various skills and technologies learned during the development process.

  1. Signup and Login:

    • Start by creating an account using the signup page. This process simulates user registration and authentication steps to demonstrate backend and frontend integration.
  2. Dashboard:

    • Upon successful login, you'll be directed to the dashboard, where you can observe how user-specific data is displayed. Take a closer look at how state management (Recoil) is utilized for a smooth user experience.
  3. Send Money:

    • Navigate to the send page to simulate money transfers between users. This feature highlights backend interactions, including data validation using Zod and HTTP requests with Axios.
  4. Animations:

    • Enjoy the animated elements powered by Lottie, showcasing how frontend libraries can enhance the overall look and feel of the application.
  5. State Management:

    • The project utilizes Recoil for state management. Experiment with different scenarios to see how the application maintains a consistent state across various components.
  6. Explore and Test:

    • Feel free to explore other features and functionalities. While the project may not be a market-ready product, it serves as a valuable learning tool. Consider examining the source code to understand how different technologies are implemented.

Remember, this project is a reflection of the learning journey, and your engagement with it contributes to a deeper understanding of full-stack development concepts.

Folder Structure

.
├── frontend/            # Vite Frontend App
│   ├── public/
│   ├── node_modules/
│   ├── src/
│   │   ├── assets/      # Images, fonts, etc.
│   │   ├── components/  # React components
│   │   ├── pages/       # React pages/screens
│   │   ├── main.js      # Main entry file for the Vite app
│   │   ├── App.jsx      # Main React file
│   │   ├── index.css
│   │   └── App.css
│   ├── store            # All the Recoil atoms are stored here
│   ├── package.json     # Frontend dependencies and scripts
│   ├── index.html
│   ├── tailwind.config
│   ├── vite.config
│   └── ...

├── backend/               # Backend Node.js App
│   ├── config.js          # Configuration files
│   ├── routes/            # Express routes
│   │   ├── account/       # Account route
│   │   ├── index/         # Main express app for all /api/v1 requests
│   │   ├── middlewares/   
│   │   ├── user/          # User route
│   ├── types.js           # Zod Schema file
│   ├── index.js           # Express application setup
│   ├── db.js              # Database Schema file
│   └── ...

├── .gitignore           # Git ignore file
├── README.md            # Project README file
├── package.json         # Backend dependencies and scripts
├── package-lock.json    # Dependency lock file
├── .env                 # Environment variable file
└── ...

├── Dockerfile
├── README.md

payment-app's People

Contributors

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