command
module
Version:
v0.0.0-...-ea5047b
Opens a new window with list of versions in this module.
Published: Sep 23, 2024
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Go + React Application
This is a simple Go + React application. Follow the instructions below to get started.
Prerequisites
Make sure you have the following installed on your machine:
Getting Started
Backend (Go)
-
Clone the repository:
git clone https://github.com/nikext/react-go-app.git
cd react-go-app
-
Create a .env file in the root directory and add the following environment variables:
# .env
PORT=4000
MONGODB_URI=your_mongodb_uri
MODE=development
-
Install Go dependencies:
go mod tidy
-
Run the Go server:
go run main.go OR air
Frontend (React)
-
Navigate to the client directory:
cd client
-
Install Node.js dependencies:
npm install
-
Start the React development server:
npm run dev
License
This project is licensed under the MIT License - see the LICENSE file for details.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.