Skip to content

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.

Notifications You must be signed in to change notification settings

dumkwufavour/survey_reward_sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

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.

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: A JSON Schema Validator for JavaScript.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published