Categorygithub.com/Ovenoboyo/basic_webserver
modulepackage
0.0.0-20221111205403-4ecdfba6ecf2
Repository: https://github.com/ovenoboyo/basic_webserver.git
Documentation: pkg.go.dev

# README

Cloud storage implementation using Azure Services

All Contributors

This project demonstrates the usage of Azure Storage SDK and SQL Database on Azure along with JWT tokens for authentication and some other features.

Frontend can be found here

Features

  • Username and Password based user authentication
  • Authenticated API calls using JWT Tokens
  • Upload files as Blobs to Azure Storage Containers
  • Maintains per-user version history for each file uploaded
  • List all files uploaded by a specific user after authentication
  • Download / Delete files by version
  • Good looking frontend (subjective)

Implementation and screenshots

login page register page dashboard page

How to build

Clone this repository along with submodules

git clone --recurse-submodules --remote-submodules

Using Make

To run the app

make run

To simply generate a compiled binary

make build

Manually

Install all dependencies for the website using Yarn

cd frontend
yarn install 

Compile and bundle the frontend

yarn build

Copy the generated bundle to static directory

mkdir ../static
cp dist/ ../static

then run

To generate a binary

go build

To run the app without generating a binary

go run main.go

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Aniket Thorat

🚇

Sahil Gupte

💻

Ohm

🎨

This project follows the all-contributors specification. Contributions of any kind welcome!

# Packages

No description provided by the author