Skip to content

🗃This application is used to organize CSV files into «boxes». It may evolve into a social platform for sharing CSV files.

Notifications You must be signed in to change notification settings

XiaoxiaYao/file-boxes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file-boxes

Local development

Database

The database for local development is hosted on Atlas. Feel free to use your own credential for it in .env.development file inside of server folder.

Cloud storage

The clould storage for local development is hosted on Cloudinary. Feel free to use your own credential for it in .env.development file inside of server folder.

Backend project

  1. cd into server folder

  2. Install backend libs

npm run install
  1. Star the backend app npm run start:dev

  2. There is backend API docs available on local api docs. Feel free to explore it.

Frontend projcet

  1. cd into client folder

  2. Install libs

npm run install
  1. Star the frontend app npm run start

Deployment

Projcet

The backend project is deployed to Heroku via Heroku CLI which is a manual way due to some Github issues of Heroku.

Here is the project address

You can check the backend docs here:

The React app is served as a static resource of Nestjs.

How to dploy

  1. cd into server folder

  2. Build static frontend

npm run build-client
  1. The Heroku app has been created and the production environment variables have been configured.

  2. Use Heroku CLI to deploy to cloud. Heroku CLI

Unit tests

Backend project

  1. cd into server folder

  2. Run the tests

npm run test
  1. Need to write more unit tests and make sure the test coverage is above 95%.

About

🗃This application is used to organize CSV files into «boxes». It may evolve into a social platform for sharing CSV files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published