Git Product home page Git Product logo

luckpo / serverless-boilerplate-express-typescript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ixartz/serverless-boilerplate-express-typescript

0.0 0.0 0.0 1.73 MB

๐Ÿš€ Boilerplate and Starter for Serverless framework, ExpressJS and TypeScript โšก๏ธ Made with developer experience first: Serverless framework + Live reload + Offline support + ExpressJS + TypeScript + ESLint + Prettier + Husky + Lint-Staged + Dotenv + VSCode

Home Page: https://creativedesignsguru.com

License: MIT License

Shell 21.56% TypeScript 55.54% JavaScript 22.90%

serverless-boilerplate-express-typescript's Introduction

Serverless Boilerplate with Serverless Framework, ExpressJS and TypeScript Twitter

Serverless Boilerplate Banner

๐Ÿš€ Serverless Boilerplate is starter code for your backend and REST API based on Serverless framework with Express JS and TypeScript. โšก๏ธ Made with Serverless framework, Live reload, Offline support, ExpressJS, TypeScript, ESLint, Prettier, Husky, Lint-Staged, Dotenv, VSCode.

Clone this project and use it to create your own backend.

Features

Developer experience first:

  • ๐Ÿ”ฅ Serverless framework
  • ๐Ÿ“– Local support with Serverless Offline
  • โš™๏ธ Environment variable with Serverless Dotenv
  • โšก๏ธ ExpressJS
  • ๐ŸŽ‰ Type checking TypeScript with strict mode
  • โœ๏ธ Linter with ESLint with Airbnb configuration
  • ๐Ÿ›  Code Formatter with Prettier
  • ๐ŸฆŠ Husky for Git Hooks
  • ๐Ÿšซ Lint-staged for running linters on Git staged files
  • ๐Ÿ—‚ VSCode configuration: Debug, Settings, Tasks and extension for ESLint, Prettier, TypeScript
  • โœจ HTTP Api instead of API gateway for cost optimization
  • ๐Ÿ’จ Live reload

Philosophy

  • Minimal code
  • ๐Ÿš€ Production-ready

Nextless.js SaaS Boilerplate

Building your SaaS product faster with Nextless JS SaaS Boilerplate.

Nextless React SaaS Boilerplate

Premium Themes

Green Nextjs Landing Page Template Purple Saas Nextjs Theme
Green Nextjs Landing Page Template Blue Landing Page Nextjs Theme

Find more Nextjs Themes.

Requirements

  • Node.js and npm

Getting started

Run the following command on your local environment:

git clone --depth=1 https://github.com/ixartz/Serverless-Boilerplate-Express-TypeScript.git my-project-name
cd my-project-name
npm install

Then, you can run locally in development mode with live reload:

npm run dev

The local server is now listening at http://localhost:4000

Deploy to production

You can deploy to production with the following command:

npm run deploy-prod

Things to know

serverless-offline-plugin display a red warning in the console offline: [object Object]. It's just a warning from Serverless Offline Plugin. Hope it'll solve in the next release of serverless-offline-plugin.

VSCode information (optional)

If you are VSCode users, you can have a better integration with VSCode by installing the suggested extension in .vscode/extension.json. The starter code comes up with Settings for a seamless integration with VSCode. The Debug configuration is also provided for frontend and backend debugging experience.

Pro tips: if you need a project wide type checking with TypeScript, you can run a build with Cmd + Shift + B on Mac.

Contributions

Everyone is welcome to contribute to this project. Feel free to open an issue if you have question or found a bug.

License

Licensed under the MIT License, Copyright ยฉ 2020

See LICENSE for more information.


Made with โ™ฅ by CreativeDesignsGuru Twitter

Sponsor Serverless Boilerplate Express TypeScript

serverless-boilerplate-express-typescript's People

Contributors

ixartz avatar kaveet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.