Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Node Starter #408

Open
ndneighbor opened this issue Aug 5, 2023 · 11 comments
Open

Update Node Starter #408

ndneighbor opened this issue Aug 5, 2023 · 11 comments
Assignees
Labels
50-100 Projects with payouts from $50-$100 accepted submission has been accepted for payout starter Templates that help users have a good first step on using Railway

Comments

@ndneighbor
Copy link
Contributor

ndneighbor commented Aug 5, 2023

Update/Create a Node Starter

An updated Node.js starter template designed to accelerate the setup process for Node.js projects.

Payout

$50

Expectation

Develop a well-organized Node.js starter template with clear documentation for easy setup.

Bonus points: Include basic project structure, Express.js integration, and database connectivity examples. Or adding testing support and advanced features like authentication. A hosted tutorial or guide is highly appreciated.

@ndneighbor ndneighbor added starter Templates that help users have a good first step on using Railway 50-100 Projects with payouts from $50-$100 labels Aug 5, 2023
@edmondwinston
Copy link

I'm on this.

@edmondwinston
Copy link

Hi @ndneighbor,

Sorry for tagging, but I've just got home and noticed that there are several Node.js/Express.js templates created already, so do you feel the need of having a template with the bonus points thing? Or another with tRPC. Just ping me if that's the case. Thank you.

@melissa-hale
Copy link

Hi @edmondwinston ! I appreciate you reviewing the existing templates and checking in beforehand. I agree, I think we already have some popular node templates. Leaning into the "Bonus" section though, you could build something with a DB attached and setup some authentication and/or test suite to show off a good project scaffold with built in developer ops. Just a thought, let me know!

@edmondwinston
Copy link

@melissa-hale Thank you for replying.

  1. Is there any particular request for the authentication part?
  2. Could you please elaborate more on the devops requirements, or should I just sprinkle something?
  3. Is there a deadline for submitting?

@melissa-hale
Copy link

melissa-hale commented Sep 1, 2023

Hey @edmondwinston !

  1. How about passport.js? I think that would be super cool to see, and I don't think we have any templates using it today.
  2. I was thinking maybe just adding a simple unit test, and the value would be in seeing the example of how that is setup in a project. If this doesn't spark joy though, don't worry with it and focus on Number 1 above
  3. Technically the end of the program is Sept 15, but we can be flexible especially since we're a little behind on these reviews. I'm happy to extend the time for you if you're excited about turning this one in.

@edmondwinston
Copy link

Yes, I'm turning this one in, but I'm actually on holiday, so will get back to you within 4-5 days with a sketch. Thank you.

@edmondwinston
Copy link

@melissa-hale

Hi, I'm back, and here is the repo.
Tests and guiding comments are on the way. Please feel free to propose any improvements. Thank you.

@melissa-hale
Copy link

I love this @edmondwinston! It's such a nice example of a modular project. Since this is a starter, I am looking forward to seeing how your documentation helps less experienced developers understand how the various modules are interacting with each other. It doesn't have to be super thorough, just enough for someone to feel confident enough to play around and make it their own. I think a section that informs how to interact with the API routes and how to run the tests is important.

Thanks for your work on this! We'll wrap the bounty program on Friday, but I'll give you extra time to polish this one 🔥

@edmondwinston
Copy link

@melissa-hale

Thank you for the kind words! I have just added a few little notes, what do you think?

@melissa-hale
Copy link

Hi @edmondwinston ! the documentation is nice and made me laugh 😄 I think what I'm missing is an entry point to see how the auth is working. I know you could do it with an HTTP client, but I was thinking maybe adding a login form would be cool. I went ahead and threw something rough together: https://github.com/melissa-hale/express-passport
this uses ejs to serve up an ugly form haha

you're welcome to do whatever you'd like of course (login form or no), but you can also copy what I did. Then please update the docs to be explicit on the routes that are available. /, /login, /api/v1/account, /api/v1/account/authenticate (POST)

Once you're satisfied -

I'll give it a final review and we'll get you paid!

@melissa-hale melissa-hale added the accepted submission has been accepted for payout label Sep 14, 2023
@melissa-hale melissa-hale self-assigned this Sep 14, 2023
@bhavuk2002
Copy link

i can work on this

  1. can add node templates for authentication
  2. db templates
  3. setting up routers
  4. basic setup of api
  5. user sign in and sign out

and as you specify : )

Assign me this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
50-100 Projects with payouts from $50-$100 accepted submission has been accepted for payout starter Templates that help users have a good first step on using Railway
Projects
Status: Closed out
Development

No branches or pull requests

4 participants