Git Product home page Git Product logo

fc-upi2.0's Introduction

FC-UPI2.0

This repository contains the codebase of a backend server build during participation in a online hackathon.

  • Backend Server is created using NodeJs(Express) integrated with MongoDB(Cloud Atlas) database.

  • Provides features like Login, Registration, Password Hashing, JWT token varification etc.

  • This server is trying to mimic a real UPI, where if user has already registered then get his account details or else upload a CSV of past transactions and get account details.

  • For a new user 8 digit unique account number should be assigned by the backend at the time of registration.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

NPM
NodeJs
MongoDB

Installing

Follow these steps to installing dependencies and running this project on your local by setting development environment:

  • Clone project on local
 git clone https://github.com/sy117/FC-UPI2.0.git
  • Move to server Directory
 cd server
  • Install Dependencies
 npm i

  • Set environment variables in .env file
PORT = PORT_NUMBER
DB_URL = mongodb+srv://<user_name>:<password>@clusterfc.txgre.mongodb.net/<database_name>?retryWrites=true&w=majority
TOKEN_SECRET = YOUR_SECRET_TOKEN_FOR JWT
ACCOUNT_NUMBER = 8_DIGIT_DEFAULT_ACCOUNT_NUMBER

  • Start Server on localhost
 npm start

Deployment

Add deployment steps by yourself.

Built With

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.