Home
This is a technical wiki for the uni-bites application, it describes the technologies, how they are used and how to implement specific features.
ClientSide
- TypeScript
- Angular
- Bootstrap
- FontAwesome
ServerSide [RestApi]
- TypeScript
- NodeJS
- MongoDB
- Mongoose
- ExpressJS [RESTApi/Routing]
The uni-bites application is based on typescript sample application available at https://github.com/DavideViolante/Angular-Full-Stack, more information on the technologies used are available on the repo page.
The source application shows how to perform all basic crud functionality using mongoose on the server side. It is split into a client part and a server part, each of these has to be compiled from typescript into javascript to run the application.
Clone the repository
git clone https://github.com/dirty-bits/uni-bites
Install angular-cli and typescript globally so that they are on the command-line (tsc
and ng
are available in a command prompt).
npm install -g @angular/cli
npm install -g typescript
Use npm to install the required modules, cd
into the uni-bites directory and run:
npm install
Run the application
npm run dev
- Project Description
- Database setup
- Adding new Objects [RestApi]
- Adding a new components [Angular]
This project uses the MEAN stack:
- Mongoose.js (MongoDB): database
- Express.js: backend framework
- Angular 2+: frontend framework
- Node.js: runtime environment
Other tools and technologies used:
- Angular CLI: frontend scaffolding
- Bootstrap: layout and styles
- Font Awesome: icons
- JSON Web Token: user authentication
- Angular 2 JWT: JWT helper for Angular
- Bcrypt.js: password encryption