Git Product home page Git Product logo

lambda-ps-api's Introduction

람다 동아리 온라인 저지 API 서버

개요

FastAPIMongodb를 이용하는 람다 온라인 저지 백엔드 서버입니다. Python 3.9+ 에서 실행하세요.
많은 보안 메커니즘들이 구현되어 있지 않아 보안에 매우 취약합니다. 주의해 주시기 바랍니다.

Python3, C, C++ 3개의 언어를 지원합니다.

환경에 GCC 등이 깔려 있어야 하며, 유닉스 계열 운영체제 환경에서 실행하세요.

시작하기

  1. 저장소를 로컬에 클론하세요. git clone https://git.serve.moe/senpai/lambda-ps-api

  2. 가상 환경을 설정하고, 의존성을 설치합니다. virtualenv venv
    source venv/bin/activate
    pip install -r req.txt
    이 외에도 Mongodb가 필요합니다.

  3. 코드의 # TODO 로 표시된 Secret, CORS URL 설정을 합니다.

  4. Uvicorn 서버를 시작합니다. uvicorn main:app

localhost:8000에 서버가 실행됩니다.

Enjoy!

라이선스

본 코드는 WTFPL 라이선스로 배포됩니다.
저작자는 코드의 작동에 대한 보증을 하지 않으며, 이 소프트웨어로 인해 야기된 것에 대한 어떠한 책임도 지지 않습니다.

lambda-ps-api's People

Contributors

krrrr0 avatar

Stargazers

Roman avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.