Skip to content

tbrand/OutOfMemory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OutOfMemory

Concept and Features

OutOfMemory is a developers community which user can post questions and answers inspired by StackOverflow. It's assumued to be used internally, like in company or school.

OutOfMemory is mainly written in Rust (backend) and Vue.js (frontend). I believe this repository could be a good example for those who will build a web app in that combination.

Expecially the backend uses awesome crates which you should use for developing APIs.

This repository is still under developing and many of functions are not working! (Pagination, sorting and so on.)

Getting Start! (Build and Launch)

There is a only 3 steps to start running OutOfMemory! You need docker and docker-compose command in your environment.

1. Create an OAuth app on GithHub and save it as config.yaml.

github:
  client_id: "YOUR_CLIENT_ID"
  client_secret: "YOUR_CLIENT_SECRET"
  oauth_access_token: "https://github.com/login/oauth/access_token"
  oauth_authorize: "https://github.com/login/oauth/authorize"
  api_endpoint: "https://api.github.com"

There is a skeleton file at oom-backend/config.sample.yaml. You don't have to replace oauth_access_token, oauth_authorize and api_endpoint if you use github.com.

Copy the skeleton file and rename it as docker-compose.yml.

cp docker-compose.sample.yml docker-compose.yml

Modify the ./path_to/your/config to the correct path which the config created at step 1 exists on.

3. Start running!

# It takes a long time!
docker-compose build
docker-compose up

Note

  1. If you don't running it on your localhost, please commit .env.docker-compose.local on oom-frontend/.. Otherwise the frontend try to connect to http://localhost:8080 as written in oom-frontend/.env.docker-compose.
VUE_APP_API_ENDPOINT=http://your_host:8080

Gallery

Create a Question

outofmemory01

Question and Answers

outofmemory02

User Profile

outofmemory04

Tags

outofmemory03

About

The developers community of Q and A.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published