https://github.com/dlsiem/dlsiem-gear-second-template
Reactjs template with postgres and express
https://github.com/dlsiem/dlsiem-gear-second-template
express postgresql reactjs reactrouterdom redux tailwindcss typescript vitets
Last synced: 2 months ago
JSON representation
Reactjs template with postgres and express
- Host: GitHub
- URL: https://github.com/dlsiem/dlsiem-gear-second-template
- Owner: DLSiem
- Created: 2024-09-24T06:42:47.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-30T14:16:29.000Z (8 months ago)
- Last Synced: 2025-03-16T16:11:22.748Z (3 months ago)
- Topics: express, postgresql, reactjs, reactrouterdom, redux, tailwindcss, typescript, vitets
- Language: TypeScript
- Homepage: https://npmjs.com/dlsiem-gear-second
- Size: 285 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Express Template
## Technologies
### Front-end
1. Vite React Typescript
2. Redux - For state management
3. React-Router-Dom - Routing
4. Tailwindcss - For styling### Back-end
1. Express (Nodejs)
2. Postgres - Database
3. Typescript
4. JWT - Authentication## Run in your local environment
### Download
```
npx dlsiem-gear-second
cd my-app
```### Run the front-end
```
cd client
npm install
npm run dev
```### Make sure to create .env credentials before runnning the back-end
```
PORT = 5000
DB_USERNAME = "your_db_username"
DB_PASSWORD = "your_db_password"
DB_NAME = "your_db_name"
DB_HOST = "localhost"
DB_PORT = 5432JWT_SECRET = "your_secret"
```
### Run the back-end
```
cd server
npm install
npm run dev
```