Registration project with admin panel where you can see the list of all registered users
Client: Html, Css, Javascript
Server: Node, Express, MySql
To deploy this project run:
npm i
npm start
after installing the required packages, you need to create a table named "users" using the mysql database. And then add your database name in the "registerDB" file
const RegisterDB = mysql.createConnection({
host: "localhost",
user: "root",
password: "",
database: "Your database name",
});
GET /api/users/all-users
GET /api/users/get-user/:id
Parameter | Type | Description |
---|---|---|
id |
int |
Required. Id of user to fetch |
POST /api/users/new-user
GET /api/users/remove/:id
Parameter | Type | Description |
---|---|---|
id |
int |
Required. Id of user to fetch |
GET /api/users/edit/:id
Parameter | Type | Description |
---|---|---|
id |
int |
Required. Id of user to fetch |