GithubHelp home page GithubHelp logo

jacobcoffee / litestar-template Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 191 KB

Litestar template for Railway

Home Page: https://railway.app/template/zx1KGh?referralCode=BMcs0x

License: MIT License

Python 8.98% Makefile 10.16% CSS 53.82% HTML 25.95% JavaScript 1.09%
litestar litestar-api litestar-framework litestar-template railway railway-app

litestar-template's Introduction

Litestar Logo - Light Litestar Logo - Dark

Project Status
CI/CD ci Pip Audit Test
Quality codecov Quality Gate Status Reliability Rating Duplicated Lines (%) Vulnerabilities Bugs
Community Reddit Discord Matrix Medium Twitter Blog
Meta Litestar Project License - MIT Litestar Sponsors linting - Ruff code style - Black types - Mypy

SonarCloud

Litestar Template for Railway.

This repo is a template for creating a Litestar app on Railway.

Deploy on Railway

Development

For working on this template, you'll need to clone the repo and set up for development environment.

  1. Clone the repo
  2. Install Python Development Master (PDM)
  3. TODO

litestar-template's People

Contributors

jacobcoffee avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

litestar-template's Issues

Cannot reach API

Steps:

  • forked repo
  • added locally working get request
  • deployed on Railway ('Uvicorn running on http://0.0.0.0:8000/ (Press CTRL+C to quit)')

Now I cannot reach API via any of the requests:

GET: https://litestar-gpt-support-production.up.railway.app/
Authorization: bearer {token}

or

https://litestar-gpt-support-production.up.railway.app/
http://litestar-gpt-support-production.up.railway.app/
http://litestar-gpt-support-production.up.railway.app:8000/ (port has been specified)

The requests' attempts take up to 60 seconds and then 'request timed out'. cURL doesn't help either.
Local deploy works correctly. What can I do to fix this issue?

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.