Skip to content

An anonymous image forum featuring curated collections of programming catastrophes that push the boundaries of logic, aesthetics, common sense, and, most importantly - functionality.

License

Notifications You must be signed in to change notification settings

allgeo/programmy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚧 Frontend still under construction... 🚧


APIs implemented

1. POST API to upload a image to AWS S3
2. POST API to create a posts
3. GET API to retreive all posts

Prerequisite

Go should be installed on your machine
Mongo should be installed and up and running

Install go dependency

go mod download

Define your environment variables in .env file

API_PORT=8081
DB_NAME=blog-apis
MONGODB_URL=mongodb://localhost:27017
AWS_BUCKET_NAME=
AWS_REGION_NAME=
AWS_ACCESS_KEY=
AWS_SECRET_KEY=

Build go package

go build main.go

Run the service

go run main.go

Post collection

Import post collection from file blog-apis.json

About

An anonymous image forum featuring curated collections of programming catastrophes that push the boundaries of logic, aesthetics, common sense, and, most importantly - functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages