chittolina / fsts

Full Stack TypeScript project sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fsts - A Full Stack Type Script Project Sample

This is a sample project created to be used as base for full stack TypeScript projects.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

In order to correctly use the application please make sure you have these two working fine before we can get started:

Installing the dependencies

yarn install

Starting development server

Server side

In order to start a development server, run:

yarn dev:api

This will start the API at http://localhost:3000. You can open up a browser and try the following URLs to see the API working:

  • http://localhost:3000/music
  • http://localhost:3000/event

Client side

In order to serve the client files, run:

yarn dev:client

This will serve the files at http://localhost:1234

Building for production

yarn build:api

This will output the API generated files under dist/api.

yarn build:client

This will output the client generated files under dist/client.

Testing

yarn test

NOTE: This will currently run tests for server side only.

Roadmap

  • Add server side TypeScript support
  • Add client side TypeScript support
  • Add server side tests
  • Add client side tests
  • Add eslint on precommit

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Full Stack TypeScript project sample

License:MIT License


Languages

Language:TypeScript 62.3%Language:JavaScript 29.0%Language:HTML 8.6%