mern
π MERN stack 2.0 - MongoDB, Express, React/Redux, Node
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- config.yml
- help-needed.md
- release.yaml
- index.js
- types.js
- require_auth.js
- signin.js
- signout.js
- signup.js
- account.js
- centerCard363.js
- header.js
- home.js
- public.js
- auth_reducer.js
- index.js
- user_reducer.js
- index.js
- favicon.png
- index.js
- app.js
- index.html
- store.js
- style.scss
- app_test.js
- test_helper.js
- .env.production
- package.json
- README.md
- webpack.common.js
- webpack.dev.js
- webpack.prod.js
- yarn.lock
- app.83e0763ef54ecf87bd8c.js
- vendor.2345bc9d6bc81da25d22.js
- favicon.png
- style.css
- index.html
- manifest.js
- authentication.js
- middlewares.js
- controller.js
- model.js
- router.js
- logger.js
- token.js
- .env.example
- config.js
- index.js
- babel.config.json
- package.json
- README.md
- yarn.lock
- .eslintrc
- .gitignore
- .releaserc.json
- CONTRIBUTING.md
- LICENSE
- package.json
- README.md
- yarn.lock
π μ€μΉ κ°μ΄λ
1. μ½λ λ΄λ €λ°κΈ°
git clone https://github.com/amazingandyyy/mern
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd mern
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. Node.js
μ¬μ μΆμ²μ¬μ μ€λΉλ¬Ό
$ yarn # or npm i
μ΄ λͺ λ Ήμ΄λ₯Ό ν°λ―Έλμ κ·Έλλ‘ μ λ ₯ν΄ μ€ννμΈμ.
$ yarn # or npm i // npm install packages
package.jsonμ λͺ μλ λΌμ΄λΈλ¬λ¦¬λ€μ λ΄λ €λ°μ μ€μΉν©λλ€.
$ npm run dev // run it locally
κ°λ°/μ€ν μλ²λ₯Ό μΌλλ€.
$ npm run build // this will compile the react code using webpack and generate a folder called docs in the root level
λ°°ν¬μ©μΌλ‘ μ½λλ₯Ό μ΅μ νν΄μ λΉλ νμΌμ μμ±ν©λλ€.
$ npm run start // this will run the files in docs, this behavior is exactly the same how gh-pages will run your static site
κ°λ°/μ€ν μλ²λ₯Ό μΌλλ€.
λͺ
λ Ήμ΄ μ€ν ν ν°λ―Έλμ λνλλ μ£Όμ(λ³΄ν΅ http://localhost:3000 νν)λ₯Ό λΈλΌμ°μ μμ μ΄μ΄λ³΄μΈμ.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
// repository documentation
Was this content helpful?
(0 ratings)
