Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kalwar/npsapp
- Owner: kalwar
- License: apache-2.0
- Created: 2022-03-19T11:25:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-20T18:31:17.000Z (about 2 years ago)
- Last Synced: 2024-04-16T07:59:49.940Z (7 months ago)
- Topics: expressjs, graphql, javascript, mern-stack, mongodb, mongoose, nodejs, reactjs, simple-app
- Language: JavaScript
- Homepage:
- Size: 2.29 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.