This is a basic full-stack social media application called NodeConnect. The application is split into two distinct projects/repositories, adhering to the microservice architecture.
- Frontend ->
nodeconnect-web-ui
- Backend ->
nodeconnect-server-api
This repository represents the backend part of the application.
Step 1. Install and the dependencies.
npm i
Step 2. Bootstrap the application.
npm run bootstrap
Step 3. Migrate database schema.
npm run db:apply
Step 4. Start the backend server.
npm start
First, Don't forget to generate a snapshot of your current data model by running:
npm run db:snapshot
Second, If you upgrade the Directus version manually, then don't forget to Migrate the database to match the versions of Directus by running:
npm run db:up