Giter VIP home page Giter VIP logo

rrreferral-system's Introduction

Referral System

This is a simple referral system that makes use of Nodejs to implement a referral system logic. Let's connect on Twitter and Github

Technologies Used

  • Nodejs
  • MongoDB
  • Express-Handlebars
  • Passport

Getting Started

  • Open your Terminal e.g Git Bash
  • Fork or clone this project on your terminal
  • Open the project and install the packages
  • Run the application from your Terminal

Overview:

$ git clone https://github.com/geekyahmed/referral-system
$ cd referral-system
$ npm install
$ npm start

Your application should be running on localhost:3000, open your browser and check it out.

Project Structure

>app
L controllers
    L auth
	    L auth.controller.js
	L profile.controller.js
L middlewares
	L auth.js
L models
	L referral.js
	L user.js
L routes
	L auth.routes.js
	L profile.routes.js
L services
	L referral.service.js

>config
	L config.js

>public
>views
app.js

The app.js is the entry point of our application.

Controllers contain the logic of the app where it processes data from the models and pass it to the views directory for rendering.

Middlewares contain the user authentication middleware for checking if users are properly authenticated.

Models contain the schema for our application for the referral and the user.

Routes contains the application routes which includes the registration, login and the dashboard.

Services handle the logic of checking and validating referrals for users.

Config contains the environment variables.

Public contains the static assets like the CSS and Javascript files.

Views contains the rendered data and template for the application frontend.

Contributing

This is a completely free and open sourced project. Feel free to contribute. ❤️ Thanks for reading...

rrreferral-system's People

Contributors

geekyahmed avatar rammyblog avatar

Stargazers

 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.