Node.js Boilerplate for Front-End using TypeScript and Angular.
- JavaScript: Web programming language;
- TypeScript: JavaScript superset for typing;
- Node.js: JavaScript runtime;
- Angular: TypeScript Framework for Front-End;
- Axios: HTTP requests tool;
- Socket.io: WebSocket library;
- Express: Robust tooling for HTTP servers;
- Joi: Schema validator library;
- Jest: Testing Framework;
- ESLint: JavaScript/TypeScript linter and formatter;
- Huksy: Git hooks tool used to check tests, format the code and the commits;
- Install project dependencies
yarn install
- Check the logs;
- Test the dependencies and execution locally;
- Run automated tests;
- If necessary, merge with a hotfix on git;
- Rebuild the project and restart the service;
- Copy dotenv file
cp envs/.env.local ./.env # copy development local example
source ./.env # load envs on shell session
yarn run mock-dependencies # start external service mock
yarn run start:dev # start application in development mode
- localhost:3000 - Application Interface
/
- Index Page
- localhost:4000 - Mocked Back-End Page
- Concepts
- Rendering
- Static Site Generation
- Client-Side Rendering
- Server-Side Rendering
- Components
- Form
- NavBar
- Toast
- DropDown
- Modal
- Image
- Header
- Scroller
- Actions
- Validations
- Requests (Http & GraphQl)
- Connections (WebSockets)
- Hooks
- Rendering
- Tests
- Component Render Test
- Page Render Test