Skip to content
/ t-express Public template

Texpress is a project setup for using ExpressJS with Typescript. It includes a monorepo architecture and uses turborepo for managing the codebase. Live Site: https://texpress.onrender.com/auth/login (Note: Might take longer time to load due to free tier limitations on render), API Swagger Docs: https://texpress-api.onrender.com/api-docs

License

Notifications You must be signed in to change notification settings

sonish777/t-express

Repository files navigation

Texpress

Texpress is a project setup for using ExpressJS with Typescript. It includes a monorepo architecture and uses turborepo for managing the codebase.

For Complete Documentation

View Documentation

Prerequisites

  • Node.js v17 or later
  • Yarn package manager
  • RabbitMQ (For Queue Management)
  • Redis (For Caching and Sessions)
  • PostgreSQL (For Database)

Installation

To get started with Texpress, follow these steps:

  1. Clone the repository:
git clone https://github.com/sonish777/t-express.git
  1. Install the dependencies:
cd texpress
yarn install
  1. Create configuration file 'default.json' and copy the contents from 'default.example.json' to the new file (inside config directory).

Texpress uses config package for managing configurations

  1. Create env file '.env' and copy the contents from '.env.example' to the new file in the project root directory.

  2. Run migrations

Note: Create a database named texpress (or the database name you have in previously created config file) in PostgreSQL.

yarn migration:run
  1. Run Seeder
yarn seeder:run
  1. Compile the Javascript files for the CMS application
yarn build:js

Note: Use yarn watch:js to compile in watch mode.

  1. Start the development server
yarn dev

Usage

Once you have started the development server, you can access the built-in apps at the following URLs:

You can customize the apps and add your own functionality by editing the code in the 'apps' and 'packages' directory.

Contributing

If you find a bug or have a feature request, please create an issue on the GitHub repository.

To contribute to Texpress, follow these steps:

  1. Fork the repository.

  2. Create a new branch with your changes:

  3. Commit your changes:

  4. Push your changes to your fork:

  5. Open a pull request on the main repository.

About

Texpress is a project setup for using ExpressJS with Typescript. It includes a monorepo architecture and uses turborepo for managing the codebase. Live Site: https://texpress.onrender.com/auth/login (Note: Might take longer time to load due to free tier limitations on render), API Swagger Docs: https://texpress-api.onrender.com/api-docs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages