Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kalwar/npsapp

A simple app to create a net promoter score using MERN stack
https://github.com/kalwar/npsapp

expressjs graphql javascript mern-stack mongodb mongoose nodejs reactjs simple-app

Last synced: 3 days ago
JSON representation

A simple app to create a net promoter score using MERN stack

Awesome Lists containing this project

README

        

# NPSApp

This project is used for learning how to create net promoter score app using MERN stack.

[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-white.svg)](https://sonarcloud.io/summary/new_code?id=kalwar_NPSApp)

# Steps to follow

1. `npm install` (to install dependencies in backend)
2. `npm start` (to start the server in backend for Express and GraphQL)
3. cd frontend and do `npm install` (to install dependencies in frontend)
4. `npm start` (to start frontend app)
5. You can check the frontend `localhost:3000`
6. To check admin panel go to `localhost:3000/admin`
7. Use [GraphQL](https://graphql.org/) to write mutations and queries

# Tech stack

1. [MongoDB](https://www.mongodb.com/)
2. [Express](https://expressjs.com/)
3. [ReactJS](https://reactjs.org/)
4. [NodeJS](https://nodejs.org/en/)
5. [Jest](https://jestjs.io/)
6. [GraphQL](https://graphql.org/)

# Testing

Overall, there are 16 Test Suites with total of 34 tests. All the components have individual test.

1. cd frontend
2. `npm test`

# NPSApp (step-by-step)

Net Promoter Score using MERN (Mongo/Express/React/Node) stack

# Production deployment

The app is currently deployed at https://nps.unelma.dev/

# Use for reference

Use solely for reference material only.