application to upload images to digital ocean and view them using mongoDB
- Digital Ocean - Image storage
- Heroku - Deployment
Client: Ejs, Css
Server: Node, Express, MongoDB, AWS
the application is shown in heroku at the following link
Clone the project
git clone https://github.com/Deyvis17GY/upload-s3-nodejs.gitGo to the project directory
cd upload-s3-nodejsInstall dependencies
yarn installStart the server
yarn startTo run this project, you will need to add the following environment variables to your .env file
PORT : port to run the application locally
MONGODB_URI : connecting to your MongoDB database
BUCKET_NAME : the name of the bucket on AWS or digitalOcean
AWS_ACCESS_KEY_ID : the AWS Access KEY
AWS_SECRET_ACCESS_KEY : the AWS secret ID
S3_ENPOINT : the S3 o digialOceanSpaces Endpoint
