This repository represents server-side implementation of Safe space (a cloud storage platform). It utilizes technologies like Node JS, Express and Typescript and is expected to be deployed to a worker node of a kubernetes cluster served from AWS.
- Clone this repo.
- Ensure you have docker installed locally.
- Open up your terminal and cd into the project's root directory. (ie where the docker file is)
- Build a docker image with the following command
docker build -t <yourname>/safe-space-server:1.0 .
- Run the application in a container using port forwarding with the following command.
docker run -p 8080: 8000 <yourname>/safe-space-server:1.0
- The application should be running on http://localhost:8080
- Clone this repo
- Ensure you have npm installed locally.
- Open up your terminal and cd into the project's root directory.
- Install yarn globally with the following command.
npm install -g yarn
- Install of the project's dependencies with the following command.
yarn
- Build the application with the following command.
yarn build
- Start the application with the following command.
yarn dev
- The application should be running on http://localhost:8000
- Tests will run as part of a CI/CD pipeline.