Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dumkwufavour/survey_reward_sys
The Survey System is a microservices-based application designed to create and manage surveys. It includes services for authentication, user management, survey management, and an API gateway to unify the microservices. The frontend is built using Next.js for a modern, responsive user interface.
https://github.com/dumkwufavour/survey_reward_sys
auth0 expres jwt microservice mongodb nextjs14 nodejs reactjs survey-form
Last synced: 4 months ago
JSON representation
The Survey System is a microservices-based application designed to create and manage surveys. It includes services for authentication, user management, survey management, and an API gateway to unify the microservices. The frontend is built using Next.js for a modern, responsive user interface.
- Host: GitHub
- URL: https://github.com/dumkwufavour/survey_reward_sys
- Owner: dumkwufavour
- Created: 2024-03-18T12:16:44.000Z (11 months ago)
- Default Branch: production
- Last Pushed: 2024-08-08T04:00:13.000Z (6 months ago)
- Last Synced: 2024-10-02T06:22:56.447Z (4 months ago)
- Topics: auth0, expres, jwt, microservice, mongodb, nextjs14, nodejs, reactjs, survey-form
- Language: JavaScript
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# User Registration Node.js Application Created By Favour Isioma Dumkwu
This Node.js application validates user registration data against a JSON schema using the Ajv library.
## Prerequisites
Make sure you have Node.js installed on your machine. You can download it from [here](https://nodejs.org/).
## Installation
1. Clone this repository or download the source code.
2. Navigate to the project directory in your terminal.
3. Run `npm install` to install dependencies.## Usage
1. Update the `userData` object in `app.js` with the user registration data you want to validate.
2. Customize the JSON schema in `schema.json` to fit your validation requirements if necessary.
3. Run `node app.js` in your terminal to validate the user registration data against the schema.## Schema
The JSON schema for user registration can be found in `schema.json`. It defines the structure and validation rules for user registration data.
## Dependencies
- [Ajv](https://www.npmjs.com/package/ajv): A JSON Schema Validator for JavaScript.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.