question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Help users with new project layout

See original GitHub issue

Pulling this issue out from a seperate thread here… https://github.com/encode/starlette/pull/704#issuecomment-550247190

How do we best guide users around project layouts?

  • starlette init.
  • Pointers towards how to clone existing layouts.
  • Something else?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
jugaadicommented, Nov 11, 2019

For us, Starlette is the quintessential async web toolkit just like encode/databases. The fact that frameworks are being built over Starlette(like FastAPI, Responder, etc) proves it. I hope it becomes the Python equivalent of go-kit or spring boot.

So the question whether project layout falls under the scope of Starlette depends on the future path that the maintainers wish to take i.e toolkit vs framework approach. Whatever it is, I hope the decision is taken before v1.0

If its a framework, then it makes sense to dictate the project layout and other conventions. Else it is best left to the community to figure out the best way to utilize starlette for their usecase.

2reactions
alex-oleshkevichcommented, Nov 22, 2019

The Phoenix framework has a very good directory layout: https://github.com/phoenix-examples/hello_phoenix

It separates web application part (web dir) from the application (lib dir). Another directories like api, cli, etc may live next to web.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Project Planning 101: 6 Steps to a Foolproof Project Plan - Wrike
Follow these six steps on how to create a project plan and lead your team with confidence through every stage of the process....
Read more >
27 project plan templates to kickstart your best work - Asana
Project planning involves a lot of repetitive work. Asana's project plan templates can help. Map out goals, assign tasks, and keep your projects...
Read more >
Involving Users in Web Projects for Better, Easier Accessibility
Throughout your design and development, ask users to review prototypes. Give them specific tasks to complete and see how the different aspects of...
Read more >
Project Plan - ProjectManager
This project plan guide covers everything you need to make a great project plan step by step! Learn about planning software tools, best...
Read more >
Configure a Project Template - Procore Support
To configure an existing project as a project template so it can be applied when creating new projects in your company's Procore account....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found