This project is initiatilly generated from angular-cli version 1.0.0-beta.28.3. Integrated with express and mongodb library and Angular Material. It uses ng2-file-upload to send files to server and multer for handling files at server side.
Hosted on AWS EC2 instance - View Running Application
This project is made for learning and testing.
- Angular 5
- TypeScript 2
- Mongoose 4.6.3
- Express 4.16.2
- Angular Material 5.0.0-rc.3
- TSLint
- @types
- Karma + Jasmine (Yet to implement)
- Styling using CSS
- NPM
Clone it to your prefered location
git clone https://github.com/shashwattt/mean-image-uploader-gallery.git <directory_name> --depth=1
cd <directory_name>
Download dependencies
npm install
Run
npm start
Navigate to http://localhost:3030/
.
Use ng build --watch
to keep watch on Front end file changes.
Use nodemon server.js
to keep watch on Server end file changes.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.