- ReactJS
- Typescript
- Redux
- React Router
- Axios
- date-fns
- Formik
- NodeJS
- TypeScript
- Express
- Mongoose
- Multer
- Socket.io
- JWT
- Node.js installed
- MongoDB connection
- Clone repo on your local machine:
$ git clone https://github.com/dnisdv/chat
$ cd chat
- Install run dependencies:
$ npm i
- Install server & client dependencies:
$ npm run client-install
$ npm run server-install
- Create a
.env
file inserver
folder and insert the following code. Replace values with yours!!
NODE_ENV=development
PORT=3003
JWT_SECRET=UpFJjpWKYteH5rMHSxst
JWT_MAX_AGE=7d
5.Run it:
$ npm start