Grizzl
React
Vite
Node
Express
Mobx
Prettier
ESLint
MongoDB
JWT
Bcrypt
TailwindCSS
DaisyUI
Iconoir
React Router
This application is a Twitter like application. You can create an account, post and comment on posts.
Tech stack π οΈ
Frontend
- Vite β‘
- React βοΈ
- TailwindCSS + DaisyUI π
- Iconoir π
- React Router π£οΈ
- MobX π§¬
- ESLint π§Ή
Backend
- Node π©
- Express π
- Cors π
- Mongoose π
- JWT πͺ
- Bcrypt π
Common
- Prettier π§Ό
Installation π₯
Install pnpm (if not already installed)
npm install -g pnpm
Frontend
cd app
pnpm install
# or
npm install
Backend
pnpm install
# or
npm install
In the app
folder, rename the .env.example
file to .env
and fill it with your own values.
VITE_API_URL=http://localhost:<backend-port>
In the root
folder, rename the .env.example
file to .env
and fill it with your own values.
PORT=<port>
MONGODB_URI=<your_mongodb_uri>
MONGODB_USER=<your_mongodb_user>
MONGODB_PASS=<your_mongodb_pass>
JWT_SECRET=<jwt_secret>
SALT_ROUNDS=<salt_rounds>
APP_URL=<app_url>
Getting started π
Frontend
cd app
pnpm dev
and go to http://localhost:5173
Backend
pnpm dev
Postman π
You can find the Postman collections in the api/postman
folder.
See other projects
Contact
You have a question ? Do not hesitate to contact me.