This is a Simple Dating Web App. Created using React & Express.
- React
- Tailwind
- Socket.io-client
- axios
- zod
- react-hook-form
- Node.JS
- Express
- Mongoose
- Socket.io
- Jsonwebtoken
// Client
$ cd ./client
$ npm i
// Server
$ cd ./server
$ npm i
// ./server/.env
PORT=<PORT#>
MONGODB_URI=<MONGODB_URI> // Format: "mongodb://<user>:<password>@<Cluster/Localhost>/<Database>?<Additional Params>"
JWT_KEY=<JWT Secrete>
// ./client/.env
VITE_BASE_URL=<Server_URL>
$ cd server
$ npm run db:seed:dev
After this copy the test.jpg image from ./server/dev
to ./server/upload
// Build Client
$ cd client
$ npm run build
// Run Server
$ cd client
$ npm run start