badkins
2021-2-17 17:16:13

@louis77 yes, I’m using Racket full time for web dev - mostly complete web apps, but I also provide API’s to 3rd parties and consume 3rd party APIs


badkins
2021-2-17 17:17:49

@louis77 you may be interested in the simple ToDo app I wrote for my RacketCon talk: https://github.com/lojic/RacketCon2020/tree/master/TodoApp


louis77
2021-2-17 20:10:41

I’ve tried to run it:

% racket router.rkt  open-input-file: cannot open module file  module path: /Users/louis/git/RacketCon2020/TodoApp/axio/axio-env.rkt  path: /Users/louis/git/RacketCon2020/TodoApp/axio/axio-env.rkt  system error: no such file or directory; rkt_err=3


louis77
2021-2-17 20:10:49

Is there something special to get it running?


badkins
2021-2-17 21:46:57

@louis77 sorry, just noticed your message. You need to rename TodoApp/axio/example-axio-env.rkt to axio-env.rkt and edit it to have values appropriate for your environment.


badkins
2021-2-17 21:48:10

It’s also not clear that you run: racket todo-app.rkt


badkins
2021-2-17 21:48:27

I really need to add a README.md to that repo !


badkins
2021-2-17 21:51:45

The example axio-env file is setup to listen on port 5000. I typically put nginx in front of the app to serve static files.


badkins
2021-2-17 21:52:00

You might be able to fast forward my talk to get to relevant slides that may help: https://www.youtube.com/watch?t=479&v=bIi-tUzOwdw&feature=youtu.be