This Project is for appointment booking, In this project, technologies like React js, React Naitve, Node js, Express js, Mongoose js, and MongoDB are used, it is a full-stack MERN Project.
In this project, you can create and delete time slots and accept or reject appointments as a seller, and as a client, you can search in sellers and send a reservation request to sellers for appointments.
-
Clone the repository
-
Node and npm should be installed globally in your computer.
-
nodemon should be installed globally in your computer if it is not in the cloned project root directory run:
npm install --save-dev nodemon
-
Sign Up in MongoDB and make your cluster and project and then database and connect that database to your project, you can also do it with help of YOUTUBE videos.
-
Create a .env file in the cloned project root directory and add these:
NODE_ENV=development PORT=5000 MONGO_URI="YOUR MONGO URI" JWT_SECRET="YOUR JWT SECRET"
replace your MONGO_URI and JWT_SECRET(for this use whatever you want like myawesomeproject)
-
In the mobile/source/api.js put your Wi-Fi IPv4 address instead of "YOUR URL".
-
In the cloned project root directory run:
npm install
-
Navigate to the web-app directory and run:
npm install
-
Navigate to the mobile directory and run:
npm install
npx react-native run-android
-
In the cloned project root directory run:
npm run data:import
or
yarn data:import
-
After all start your server, client, and mobile apps with these commands in order:
npm run server
npm start
yarn start or npm start
-
Now you can log in to the web client application with one of the accounts in the backend/data/seller.js and also can log in to the mobile client application with one of the accounts in the backend/data/clients.js.
This Repo is licensed under BSD 3-Clause permissive license. You can read it here.