This is Fullstack SaaS Application developed by Mukhtar Mahamed for learning purpose, details of the Application is explained below.
Please Click this link to see the deployed App Restuarant Review App
Next JS
is used to develop this Full stack App, the Next JS API
is used to communicate to the Firebase Database
- restaurant-review # this is the root directory
- controllers
- this folder contains route controllers
- middlewares
- this folder contains middleware functions for the API
- lib
- contains firebase config files
- public
- used store public files
- src/commonents
- contains all react components for the Frontend UI
- src/pages/api/restuarants
- contains restuarants API routes
- src/pages/api/restuarants/reviews
- contains reviews API routes
- src/pages/api/restuarants/replies
- contains replies API routes
- src/pages/api/auth
- contains authentication API routes
- src/pages/api/users
- contains users management API routes
- controllers
Frontend Library and packages used.
- react js
- next js
- chakra-ui # React Component Library for build UIs
- swr # used to fetch data with caching capabilities
- axios # used to call APIs for data manipulation
- react-hook-form # used to manage forms data
- react-icons # for displaying beautiful icons
- eslint # to maintain code readibility and follow standard guidances while in development
- prettier # to format code while in development
To install the necessary packages for the frontend, go to root folder:
the App uses port 3000 by default, the App uses yarn
as package manager.
cd restaurant-review
yarn install
to start the app, run the following command
- Run
yarn dev
go to localhost:3000
Please Click this link to see the deployed App Restuarant Review App
admin user [email protected]
password 123456
owner user [email protected]
password 123456
regular user [email protected]
password 123456