A fake LinkedIn
Click here to live preview.
- JavaScript
- React.js
- Styled Components
- Material-UI
- Redux
- Redux-Thunk
- React Icons
- React Router
- Redux DevTools Extension
- Moment.js
- JSON Web Token
- Express
- Redis
- MongoDB (Mongoose ODM)
- Docker
- AWS S3, ECR, ECS, Fargate
Create a free AWS account and create a S3 bucket
-
Under config file, add a file named
default.json
and input your configurations and secret keys{ "mongo_URI": "" "jwtSecret": "" "githubToken": "" "AWSAccessKeyId": "" "AWSSecretKey": "" "S3_BUCKET_NAME": "" "defaultAvatar": "" "defaultBackgroundMedia": "" "signedUrlExpireSeconds": "" "NEWS_API_KEY": "" }
-
Run
cd server
, under server folder, Runnpm install
-
Run
cd client
, under client folder, Runnpm install
-
Run
cd ..
, in root directory, Runnpm run dev
and accesshttp://localhost:3000
.
- Run
docker-compose -f docker-compose.yml up -d --build
- Push images to Amazon ECR
- Create ECS cluster
- Create a Task Definition and set configuration
- Whitelist addresses in your Amazon S3, MongoDB, and edit inbound rules in your AWS Security Groups
- root folder contains the backend APIs built by express
- client folder contains the frontend pages built by react