Skip to content

sharukhkhanajm/fullstack-boilerplates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Fullstack Boilerplates

Welcome to the Fullstack Boilerplates repository! This project aims to provide easy-to-use boilerplates for various fullstack stacks, helping engineers kickstart their projects without the usual setup hassle.

Motivation

Starting a new project often involves a lot of repetitive setup tasks: configuring servers, setting up databases, integrating frontend and backend, and more. Our goal is to simplify this process by providing ready-made boilerplates for common fullstack stacks, so you can focus on building features rather than setting up infrastructure.

Backstory

As an experienced developer, I've faced the pain of repeatedly setting up projects from scratch. I realized that many developers could benefit from a standardized, well-documented starting point for their fullstack applications. This repository is the result of our efforts to create a resource that can save time and reduce setup errors.

FAQ

What is included in each boilerplate?

Each boilerplate includes a fully configured stack with Docker support. This means you'll have a consistent environment for development, testing, and deployment.

Which stacks are available?

We are continuously adding new stacks. Currently, you can find branches for:

- And more!

How do I use a boilerplate?

Simply clone the repository and checkout the branch for the stack you need. Follow the steps in the Getting Started section below.

Can I contribute?

Absolutely! We welcome contributions. Feel free to open issues or submit pull requests to add new stacks or improve existing ones.

You can find more details on how to contribute here

Getting Started

!!important

Make sure to create the .env file and put the content from .env.example

Follow these steps to get started with a boilerplate:

  1. Clone the Repository
https://github.com/sharukhkhanajm/fullstack-boilerplates.git
cd fullstack-boilerplates
  1. Checkout the Desired Branch
git checkout Go-React-Postgres
  1. Set Up Docker Make sure you have Docker installed on your machine. If not, download and install it from here.

  2. Start the Containers

For development

docker compose -f docker-compose.dev.yml up --build

For Production

docker compose up --build
  1. Update the host file

If we put https://auth.localhost in the browser it's not gonna know it should resolve to localhost so for that we need to modify the host file

for Mac users

sudo nano /etc/hosts

Now add these lines

127.0.0.1 auth.localhost
127.0.0.1 api.auth.localhost

for Windows users

please update Windows users

Save the file

  1. Access the Application Once the containers are up, you can access the application at https://auth.localhost (or another specified port, depending on the stack).

Fix your connection is not private error

Screenshot at Aug 03 08-28-54
  • Open your caddy container
Screenshot at Aug 03 08-33-13
  • Look for root.crt file
Screenshot at Aug 03 08-36-22
  • Right click and save the file on your local machine

for Mac users

  • Open Keychain Access and click on System
Screenshot at Aug 03 08-38-44
  • Go to file -> import items and import the root.crt file
Screenshot at Aug 03 08-39-24
  • To trust this certificate double click on it and change it to always trust
Screenshot at Aug 03 08-39-51

for Windows users

please update Windows users

Contributing

Contact

For any questions or suggestions, feel free to reach out via GitHub issues or contact at https://x.com/iamsharukh_khan

Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published