Giter VIP home page Giter VIP logo

review-system's Introduction

A Review System

Build Status

An app to get feedback about your business. It has a user interface to submit new reviews and an admin panel to read those reviews and send auto-generated emails. It was created for a specific company but can be easily modified.

Getting Started

This application uses Node.js and MongoDB. You can follow the instruction to get a copy of the project up and running on your local machine.

Prerequisites

You should install Node.js and MongoDB.

Installation

Firstly, you should install the dependecies using the following command.

npm install

The next thing is to import the database scheme using the following command.

mongorestore -d review_system db

The last thing is to configure the nodemailer to use your email address. You can do that by editing this file.

How to run the app?

Simply use the following command.

npm start

Bingo! The application is accessible at port 3000.

Access

  1. Firstly, you should create an account to the /register route.

  2. and then find the user in the users collection and change the value of key named active to true.

Admin Access

If you want to enable admin access to an account you should also change the value of key named isAdmin to true.

Avaiable Routes

  • /register - Register new account
  • /login - Login
  • /newreview - Create new review
  • /admin - Admin panel

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.