Skip to content

Instantly share code, notes, and snippets.

Avatar

Thao Nguyen Phuong npthao1312

View GitHub Profile
@npthao1312
npthao1312 / nginxconfig
Created Dec 25, 2020
Nginx config file to run ReactJS app and Spring Boot app separately in the same domain
View nginxconfig
server {
listen 80;
server_name ip example.com www.example.com;
# note that I don't use https
# serves front end reactjs app
location / {
root /home/user/react-folder/build;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}
@npthao1312
npthao1312 / README.md
Created Aug 18, 2016 — forked from jxson/README.md
README.md template
View README.md

Synopsis

At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Code Example

Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.

Motivation