Skip to content

Ts project, Express server with mongoose model, MongoDB - CRUD operations, controllers, routes and UI of all

Notifications You must be signed in to change notification settings

noaYarin/The-Big-Hotel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Big Hotel

HM of HuckerU

About

  • Ts project
  • Express server with mongoose model,
  • MongoDB - CRUD operations,
  • controllers,
  • routes,
  • Ui

There are three collections:

  1. Guests
  2. Reservations
  3. Rooms

CRUD operations:

  • Insert
  • Find by id
  • Find all
  • Update and save.
  • Delete

If you get to any route that does not exist, you will get a 404 page.

Screenshots

Npm packages

Dependencies:

"@types/express": for typescript,
"@types/mongoose": for typescript,
"@types/node": for typescript,
"dotenv"- to get the environement variables,
"express": express server,
"mongoose": model/schema. To connect MongoDB and do queries,
"axios": to do request from server to server. 

DevDependencies:

"nodemon":  save changes in the file and restart the server.
"ts-node": for typescript
"typescript": for typescript

Technologies

  1. HTML
  2. CSS
  3. Javascript
  4. Typescript
  5. MongoDB
  6. Node.js - Express server, Controllers, router, axios.

About

Ts project, Express server with mongoose model, MongoDB - CRUD operations, controllers, routes and UI of all

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages