- Login
- Dashboard
- Users Management (CRUD)
- Animals Data Management(CRUD)
- Inquiries
- See Messeges
- NodeJS
- MongoDB
-
Download the project
Open a terminal and
cd
to the directory where you want to clone the project repository, then copy-paste the commands below in the terminal command line.git clone https://github.com/NelTeano/Animal-Adoption-Admin.git npm install cd server npm install
-
Create .env file
Set up the environmental variables for the use of other packages especially the database it requires DATABASE_URL
Create a file called .env
in the
server
folder.
-
Paste this values inside
.env
inmain
file :VITE_DATABASE_URI="<DATABASE CONNECTION URL(gets in MongoDB)>"
-
Run the application
- Open two terminal command lines.
- Open the project's root directory for each terminal.
- In the first terminal enter the command
npm run dev
. - In the second terminal enter the command
cd server && npm run server
. - Wait for both terminals to finish setting up.
-
Access the application
Open the address
localhost:5174
on a browser
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh