MEAN Stack
This is a fork repository from https://github.com/linnovate/mean with modification and instruction for Thai students.
- MongoDB : Document NoSQL database
- Express (Express.js): Back-end web server framework in js
- Angular : Front-end web app framework in typescript
- Node.js : JavaScript runtime environment
สิ่งที่ต้องใช้
npm i -g yarn
การติดตั้ง
git clone https://github.com/wichit2s/mean4thai
cd mean4thai
เริ่มพัฒนา
- สร้าง image,containers ที่จำเป็นด้วย docker-compose
docker-compose up -d
คำสั่งนี้จะ
-
สร้างและเรียกใช้งาน container ชื่อ mean จาก image ชื่อ mean ที่นิยามใน Dockerfile
-
สร้างและเรียกใช้งาน container ชื่อ mongo36 จาก image ชื่อ mongo จาก mongo docker hub
- ปิด container ชื่อ mean เพื่อเริ่มพัฒนา
docker stop mean
- ตรวจสอบว่ายังสามารถใช้ mongo36 ได้
docker exec mongo36 mongo --version
- ติดตั้งชุดคำสั่งที่จำเป็น
yarn install
- สั่งเริ่มพัฒนา ดูผลลัพธ์ได้ที่ http://localhost:4040/
yarn start
Credits
- The MEAN name was coined by Valeri Karpov.
- Initial concept and development was done by Amos Haviv and sponsered by Linnovate.
- Inspired by the great work of Madhusudhan Srinivasa.