Technologies | Project | How to run | How to contribute | License
This project was developed with the following techs:
Learning how to monitor files upload progress
Access server
folder and install the dependencies
$ yarn
# or
$ npm install
You will need a mongodb instance. If you have docker in your device you can create a docker mongo instance:
docker run --name mongo -p 27017:27017 -d -t mongo
Create a file named .env
based on .env.example
in the root
APP_URL=http://localhost:3333
# s3: PARA PRODUÇÃO
# local: PARA DESENVOLVIMENTO
STORAGE_TYPE=local
# CONEXÃO COM MONGO
MONGO_URL=mongodb://localhost:27017/upload
# AWS ENV PARA PRODUÇÃO
BUCKET_NAME=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
After all, you should be able to start the server:
$ yarn dev
# or
$ npm run dev
Access web
folder and install the dependencies
$ yarn
# or
$ npm install
After that start the server
$ yarn start
# or
$ npm run start
- Fork this repo;
- Create a branch for your new feature:
git checkout -b my-feature
; - Commit your changes:
git commit -m 'feat: My brand new feature'
; - Push it to your branch:
git push origin my-feature
.
After merge of your pull request, you can delete your branch.
This project is under MIT license. See the file LICENSE for details.