Skip to content

Fullstack Framework with a backend using Node.js and a frontend using React.js running on one server combines the power of these two technologies to build modern and efficient web applications.

License

Notifications You must be signed in to change notification settings

fitri-hy/node-react-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-React Framework (EN)

Fullstack Framework with a backend using Node.js and a frontend using React.js running on one server combines the power of these two technologies to build modern and efficient web applications.

Instalation

git clone https://github.com/fitri-hy/node-react-framework.git
cd node-react-framework
npm install
npm start

Build

  • Before building, you are required to add all the backend required dependencies into dep-build.txt
  • Next Build: npm run build
  • Build Project Settings: Open dist/backend/.env file and change to: DIST_PATH=../ (Frontend path adjustment)

Production

  • Upload the dist folder and its contents to hosting (Node Server required)
  • Atur backend/server.js sebagai file Node Server
  • Project is ready

Folder Structure

node-react-framework/
│
├── backend/
│   ├── routes/
│   │   └── Api.js
│   └── server.js
├── frontend/
│   ├── public/
│   │   ├── images/
│   │   │   └── logo.png
│   │   └── index.html
│   ├── src/
│   │   ├── pages/
│   │   │   └── App.js
│   │   ├── styles.css
│   │   └── index.js
│   ├── .bablerc
│   └── webpack.config.js
├── package-lock.json
├── package.json
└── README.json


Node-React Framework (ID)

Fullstack Framework dengan backend menggunakan Node.js dan frontend menggunakan React.js yang berjalan di satu server menggabungkan kekuatan kedua teknologi ini untuk membangun aplikasi web yang modern dan efisien.

Instalasi

git clone https://github.com/fitri-hy/node-react-framework.git
cd node-react-framework
npm install
npm start

Membangun

  • Sebelum membangun, Anda diharuskan menambahkan semua dependensi backend yang diperlukan ke dep-build.txt
  • Lanjutkan Build: npm run build
  • Bangun Pengaturan Proyek: Buka file dist/backend/.env dan ubah menjadi: DIST_PATH=../ (_Penyesuaian jalur frontend)

Produksi

  • Upload folder dist beserta isinya ke hosting (Diperlukan Node Server)
  • Tetapkan backend/server.js sebagai file Node Server
  • Proyek sudah siap

Struktur Folder

node-react-framework/
│
├── backend/
│   ├── routes/
│   │   └── Api.js
│   └── server.js
├── frontend/
│   ├── public/
│   │   ├── images/
│   │   │   └── logo.png
│   │   └── index.html
│   ├── src/
│   │   ├── pages/
│   │   │   └── App.js
│   │   ├── styles.css
│   │   └── index.js
│   ├── .bablerc
│   └── webpack.config.js
├── package-lock.json
├── package.json
└── README.json

About

Fullstack Framework with a backend using Node.js and a frontend using React.js running on one server combines the power of these two technologies to build modern and efficient web applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published