https://github.com/madi-s/express-react-ts-app
Minimal example of fullstack application on react and express with typescript.
https://github.com/madi-s/express-react-ts-app
express fullstack react typescript
Last synced: 3 months ago
JSON representation
Minimal example of fullstack application on react and express with typescript.
- Host: GitHub
- URL: https://github.com/madi-s/express-react-ts-app
- Owner: Madi-S
- Created: 2021-07-03T03:33:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-29T16:04:07.000Z (over 1 year ago)
- Last Synced: 2025-04-04T01:18:48.006Z (6 months ago)
- Topics: express, fullstack, react, typescript
- Language: TypeScript
- Homepage:
- Size: 500 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Create server
1) `npm i -g typeorm`
2) `typeorm init --name server --database postgres` || `typeorm init --name server --database sqlite`## Setup server
1) `cd server`
2) `npx tsconfig.json` (node)
3) `yarn` or `npm i`
4) `yarn upgrade-interactive --latest` or `npm update --save`
5) Configure ormconfig.json
5) Create database: `createdb jwt-auth-example` or manually
6) `npm start`
7) `npm i express apollo-server-express graphql`
8) `npm i -D @types/express @types/graphql`
9) `npm i type-graphql`
10) `npm i bcryptjs`
11) `npm i -D @types/bcryptjs`