seas-computing / react-boilerplate

Starting point for react-based projects at SEAS computing
0 stars 1 forks source link

Nestjs init #5

Closed jonseitz closed 5 years ago

jonseitz commented 5 years ago

This turned into a bigger beast than I was initially expecting, as a lot of the tooling had to be ts-ified to get everything working in a mostly sane way.

At this point, I've only implemented the most basic setup with nest, keeping the default "hello world" endpoints from their starter, then adding mongoose, cas-authentication, and webpack middleware on top of that. I haven't added typemoq yet since there isn't much to actually test at this point. I'd appreciate any feedback you have on typescript best practices or other implementation details.

At this point the server component of the project should build correctly in docker (though not locally as the environment variables won't be loaded), though can expect to receive a long list of errors from webpack when it tries to compile the client code.

The next stage will be to move the client code over to Typescript. Once that's done I plan to add a very basic end-to-end implementation with testing.