This is the backend for for reduxtagram-client repo. It's using Nodejs, MongoDb, TypeScript, bcrypt, express-session, redis-server, aws, multer-s3. This app is inspired from wesbos redux course.
- Sign-up & login
- Upload pics you love!
- Share your post url to receive comments and likes ❤
- React
- Redux
- Typescript
- Axios
- Nodejs
- Typescript
- Mongoose
- Redis
- aws-sdk & multer-s3
- Hosting - AWS
- Storing images - AWS S3
In order to run the app in browser, you would first require to install NodeJS, Mongodb and Redis
Next, install reduxgram-server and reduxtagram-client.
git clobe git@github.com:personal-pooya/reduxtagram-server.git
- Run
npm install
- Run
npm start
Server will get started on port 4000.
git clone git@github.com:personal-pooya/reduxtagram-client.git
- Run
npm install
- Run
npm start
This will start the client app on port 3000.
-
Install docker
-
Clone both the repos
-
build the Images:
For reduxtagram-client repo:
docker build -t my-reduxtagram-image .
For reduxtagram-server repo:
docker build -t reduxtagram-server-image .
Note: These images name should match image
key inside docker-compose.yml file.
- Last, run
docker-compose up
from reduxtagram-server repo to run all the containers.
For any bugs, improvements, or feature requests feel free to create an issue here with expected result.
For any bugs, improvements, or feature requests feel free to create an issue here with expected result.