File storage service is a Microservice build to securely store your files to the Google Cloud bucket.
File Storage Service is written in TypeScript and NodeJS, using MySQL as its primary database, make sure you have the necessary command lines tools installed for NestJS.
Please refer to NestJS CLI for more details
Follow the step to install the necessary modules for the project.
npm install
npm run build
Please refer to the .env.sample for sample file and create .env file with the necessary configuration.
File storage service uses MySQL database.
Run the following command to run migrations.
npm run migration:run
Run the following command to create new migrations.
npm run migration:generate --name=MigrationName
Run the following command to start the server.
npm run start