Skip to content

TypeScript MongoDB Backend Project - Coworking space website

Notifications You must be signed in to change notification settings

MandySpaan/LasNaves_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coworking Las Naves

Access Control and Coworking Space Management Project

Index 🔍

Description 📖

An access control and management application for the coworking space Las Naves.
Users can register, check in and out of rooms, make reservations, and view real-time room availability.
Administrators can also monitor user entry and exit, as well as generate detailed administrative reports.

You can find the related frontend project here: LasNaves_Frontend

Stack 💻

MySQL NPM JWT bcrypt

Local installation 🛠️

Backend

  1. Clone the repository $ git clone https://github.com/MandySpaan/LasNaves_Backend
  2. Install dependencies $ npm install --y
  3. Copy the file .env.example, change the name to .env and fill in all the fields
  4. Plant the seeds into the tables $ npm run db:seed
  5. Start the server $ npm run dev

Frontend

You can find the related frontend project here: LasNaves_Frontend

  1. Clone the repository $ git clone https://github.com/MandySpaan/LasNaves_Frontend
  2. Install dependencies $ npm install --y
  3. Start the server $ npm run dev

Endpoints ⚙️

You can find all endpoints as Postman documentation here: Endpoints Las Naves
The collection is public and can be imported by clicking on "Run in Postman"

In the Pipeline 🔜

Ongoing work includes the following:

  • For users:

    • Change your own email address
    • Retrieve your own access history
  • For admins:

    • Generate weekly and monthly reports
  • For super admins:

    • Create, update and delete rooms
    • Update and deactivate users

Points of Improvement 💡

Areas for improvement include the following:

  • Security:

    • Logging failed attemps for wrong password
    • Rate limiting for request password reset and resend validation email
  • Logging:

    • Implement error logging for database operations
    • Create a centralized logging system for tracking application errors
  • Tests:

    • Implement automated testing for critical functions and API endpoints
    • Establish a process for running tests consistently

About

TypeScript MongoDB Backend Project - Coworking space website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published