hotel-cms-pern

所属分类:PostgreSQL
开发工具:TypeScript
文件大小:2112KB
下载次数:0
上传日期:2023-04-30 15:07:34
上 传 者sh-1993
说明:  建立一个CMS项目来管理一家酒店。
(Building a CMS project to manage a hotel.)

文件列表:
backend (0, 2023-04-19)
backend\.env (284, 2023-04-19)
backend\.eslintrc.json (458, 2023-04-19)
backend\.prettierrc.json (105, 2023-04-19)
backend\build (0, 2023-04-19)
backend\build\configs (0, 2023-04-19)
backend\build\configs\index.js (1257, 2023-04-19)
backend\build\controllers (0, 2023-04-19)
backend\build\controllers\authController.js (5555, 2023-04-19)
backend\build\controllers\bookingController.js (8499, 2023-04-19)
backend\build\controllers\clientController.js (4809, 2023-04-19)
backend\build\controllers\roomController.js (6275, 2023-04-19)
backend\build\controllers\roomTypeController.js (5277, 2023-04-19)
backend\build\controllers\userController.js (5515, 2023-04-19)
backend\build\middleware (0, 2023-04-19)
backend\build\middleware\auth.js (929, 2023-04-19)
backend\build\middleware\token.js (1165, 2023-04-19)
backend\build\routes (0, 2023-04-19)
backend\build\routes\auth.js (646, 2023-04-19)
backend\build\routes\booking.js (965, 2023-04-19)
backend\build\routes\client.js (756, 2023-04-19)
backend\build\routes\index.js (1113, 2023-04-19)
backend\build\routes\room.js (797, 2023-04-19)
backend\build\routes\room_type.js (892, 2023-04-19)
backend\build\routes\user.js (797, 2023-04-19)
backend\build\server.js (1057, 2023-04-19)
backend\build\test (0, 2023-04-19)
backend\build\test\authController.test.js (2681, 2023-04-19)
backend\build\test\userController.test.js (3426, 2023-04-19)
backend\build\types.js (77, 2023-04-19)
backend\jest.config.js (178, 2023-04-19)
backend\nodemon.json (108, 2023-04-19)
backend\package.json (1616, 2023-04-19)
backend\prisma (0, 2023-04-19)
backend\prisma\migrations (0, 2023-04-19)
backend\prisma\migrations\20230414095421_ (0, 2023-04-19)
... ...

![Typescript](https://img.shields.io/badge/-TypeScript-007acc?logo=typescript&logoColor=white&style=for-the-badge) ![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge&logo=react&logoColor=%2361DAFB) ![Node.js](https://img.shields.io/badge/node.js-339933.svg?style=for-the-badge&logo=Node%2Ejs&logoColor=white) ![Express.js](https://img.shields.io/badge/express.js-%23404d59.svg?style=for-the-badge&logo=express&logoColor=%2361DAFB) # Hotel CMS PERN Stack A CMS (Content Management System) application built using the PERN stack is a powerful and versatile solution for managing digital content. PERN is an acronym for PostgreSQL, Express.js, React.js, and Node.js, which are all open-source technologies that work seamlessly together to create web applications. ## Index - [Demo](#demo) - [Features](#features) - [Special Thanks](#special) - [Installation](#installation) - [Structure](#structure) ## Demo

Live: HOTEL CMS


cms
## Features - Use Express to build the backend. - Use React to build the frontend. - Use PostgreSQL to build the database. ## Special thanks During the development of this dashboard, we have used many existing resources from awesome developers. We want to thank them for providing their tools open source: - [Material Tailwind](https://material-tailwind.com/) - Material Tailwind is an easy to use components library for Tailwind CSS and Material Design. - [Hero Icons](https://heroicons.com/) - Beautiful hand-crafted SVG icons. - [Apex Charts](https://apexcharts.com/) - Modern & Interactive open-source Charts. ## Installation ### Running Locally Make sure you have [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed. 1. Clone repository: ``` $ git clone https://github.com/Vo-Huy-Khoa/hotel-cms-pern.git $ cd Blog_MERN ``` Run Backend: ```bash cd backend npm install npm run dev ``` Run Frontend: ```bash cd frontend npm install npm run dev ``` ## Structure of the project: ### BackEnd ```text src | ├── configs | └── index.ts ├── controllers │ └── userController.ts │ └── bookingController.ts ├── middleware │ └── auth.ts ├── routes │ └── user.ts │ └── booking.ts │ └── index.ts ├── test │ └── userController.test.ts │ └── authController.test.ts └── server.ts └── type.ts ``` ### FrontEnd ```text src ├── components | └── CustomButton.tsx │ └── index.ts ├── configs │ └── index.ts ├── hooks │ └── useDebounce.ts │ └── useReadLocalStorage.ts │ └── index.ts ├── layouts │ └── auth.tsx │ └── dashboard.tsx │ └── index.ts ├── pages │ └── auth │ └── sign-in.tsx │ └── sign-up.tsx │ └── index.ts │ └── dashboard │ └── user │ └── create.tsx │ └── edit.tsx │ └── list.tsx │ └── home.tsx │ └── index.ts ├── redux │ └── actions │ └── visibility.ts │ └── index.ts │ └── reducer │ └── visibility.ts │ └── rootReducer.ts │ └── initState.ts │ └── store.ts ├── App.tsx ├── main.tsx └── routes.tsx ```

近期下载者

相关文件


收藏者