Skip to content

Coffeexs is a minimalist boilerplate with Express, essential web components, and TypeScript.

License

Notifications You must be signed in to change notification settings

igorm84/coffeexs

Repository files navigation

Coffeexs

Coffeexs is a minimalist boilerplate that seamlessly integrates Express, essential components, and TypeScript. Built with simplicity in mind, it empowers developers to embark on their own projects easily making changes but still with some foundation and guide.

Warning

This is a initial version and isn't suitable for production yet, but feel free to take a look

Features

  • Express and essentials
  • Routing — path based route
  • Validation with express-validator
  • Integration with ORMs like Prisma
  • Logging
  • CLI utility

Routing

Introducing a new way to route express apps with file name convetions for simplicity and dynamic routing

A folder structure of /espresso/[name] will route to /espresso/1 with req.params.name

export const GET = (req: Req, res: Res) => {
  return res.status(200).json({
    message: "Tried to look for " + name,
    params: req.params,
  });
};

You can segment the routes as many times as you want, like /espresso/[name]/[aroma]/[acidity] and so on...

Deploy

I'll be working in a guide for deploying in many ways and usage with serveless and microservices

License

Licensed under the MIT License. Check LICENSE for details

About

Coffeexs is a minimalist boilerplate with Express, essential web components, and TypeScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published