0.0.7 • Published 3 years ago
ale-firebase v0.0.7
DESCRIPTION
Help you to very quickly build the CURD service like firebase with in one minute.
HOW TO START
- Fist of all, you need to install mongoDB. You can use docker to install mongo
docker run --name ale-firebase -p 27017:27017 -d mongo
- Init project & install this library:
npm install ale-firebase
- Write a couple line of codes:
import { AleFirebaseApp } from "ale-firebase";
let app = new AleFirebaseApp({
services: ["user", "role", "permission", "category", "product"],
mongoURI: "mongodb://localhost:27017/tracking",
apiGateway: {
port: 5001,
},
});
app.start();