HackSlashNITP / AMS

AMS (Attendance Management System) integrates facial recognition technology to simplify attendance tracking in educational institutions. This comprehensive solution optimizes the process of marking attendance, enhancing efficiency.
MIT License
1 stars 10 forks source link

Database Connect and Implementation of User Routes #34

Closed spmshakti closed 5 months ago

spmshakti commented 6 months ago

@RitwikSingh28 @dev04sa @piyuuussh As discussed earlier, database has been set up locally. Also implementation of user routes to perform CRUD operations on user table has been completed.

To set up the database :

  1. In the .env-local file setup
  2. DB_HOST=127.0.0.1 //Your Db Host
  3. DB_USER=root // Your username of database
  4. DB_PASS=pass@123 //Your Password
  5. DB_NAME=ams //Db name

database_setup

Implementation of user routes :

Get: : To get an user get Post: : To register a new user

register2 7dcd0e696bd) register1

Put: : To update an user put

Delete: : To delete an user delete

RitwikSingh28 commented 5 months ago

PR #36 contains this. As a result, marked it invalid and closing it!