The API of HiberFile.
- Node.js and npm installed on your computer.
Clone the repository:
git clone https://github.com/hiberfile/hiberapi.git
Install dependancies:
cd hiberapi && npm install
Generate and download your AWS credentials. You must have a file
credentialsin the.awsdirectory.You can follow this official guide.
Create the .env file and edit it (here is an example):
cp .env.example .env nano .env
Note that you can use your favorite editor instead of
nano, likeviormcedit.Use your own endpoint of the S3.
nano src/utils/s3.ts
Then, on the 19th line, edit the endpoint.
Launch the dev server (optional):
npm run dev
Deploy the server:
npm run build && npm run start
If you are interested in helping contribute to HiberFile, feel free to open a pull request.
© 2021 HiberFile Team
This project is GPL-3.0 licensed.
