sails-typescript icon indicating copy to clipboard operation
sails-typescript copied to clipboard

Question

Open mrtnzagustin opened this issue 4 years ago • 3 comments

Hey dude! Great work.. I am starting with Typescript + Sails. I am searching all the web for people who was o is working with it. Do you still work with type and sails? Do you have any update on this? I am working to create a basic npm repository to add specific types to include in a sails application with a few steps like:

  1. Install that repo
  2. Add node_modules/tha-repo/typings/ to your tsconfig.json typings section

Let me know what you think

mrtnzagustin avatar May 03 '20 19:05 mrtnzagustin

Hi @mrtnzagustin, thanks.

I haven't touched Sails since 2015, so this repo is probably completely outdated.

I'm using Next.js with TypeScript nowadays. See https://github.com/UnlyEd/next-right-now

Vadorequest avatar May 03 '20 21:05 Vadorequest

I see, thanks. I though next was a front-end ssr framework. It is not? Wich framework are you using for backend?

mrtnzagustin avatar May 03 '20 23:05 mrtnzagustin

Next.js does both frontend and backend. It's true that it's mainly front-end oriented, but it's great with backend too because it uses AWS Lambda (using Zeit/Vercel) behind the wheel for the embedded API. Also, it's based on Express I believe.

https://nextjs.org/docs/api-routes/api-middlewares

Vadorequest avatar May 04 '20 00:05 Vadorequest