https://github.com/toweringcloud/nextjs-social-network
fullstack social network web app using typescript v5 + react v18 + next.js v14 + prisma + postgresql
https://github.com/toweringcloud/nextjs-social-network
vercel vercel-storage
Last synced: 11 months ago
JSON representation
fullstack social network web app using typescript v5 + react v18 + next.js v14 + prisma + postgresql
- Host: GitHub
- URL: https://github.com/toweringcloud/nextjs-social-network
- Owner: toweringcloud
- License: mit
- Created: 2024-08-06T12:31:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T03:34:36.000Z (over 1 year ago)
- Last Synced: 2025-06-10T07:04:18.958Z (about 1 year ago)
- Topics: vercel, vercel-storage
- Language: TypeScript
- Homepage:
- Size: 510 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nextjs-thread-challenge
fullstack social network web app using react v18 + next.js v14 + tailwindcss v3 + prisma + sqlite + minio
## features
### user authentication
- sign-up

- sign-in

### user profile
- profile

- profile edit

### tweets crud
- tweet list & add

- tweet detail & comment add/remove

- tweet search by keyword

## how to run
### setup
- install nodejs platform (v18 or later)
```
$ node -v
v18.20.4
```
- install required packages
```
$ npm install
```
### config
- set runtime environment for development (local)
```
$ cat .env
COOKIE_NAME="..."
COOKIE_PASSWORD="..."
```
- set runtime environment for production (vercel)
```
$ cat .env.prd
COOKIE_NAME="..."
COOKIE_PASSWORD="..."
POSTGRES_PRISMA_URL="..."
POSTGRES_URL_NON_POOLING="..."
```
### launch
- run service in development mode
```
$ npm run dev
```
- run service in production mode
```
$ npm run build
$ npm start
```