![thumbspng](https://private-user-images.githubusercontent.com/6657014/377968892-bddc9e5b-7f94-4950-b5bc-44c73fccf534.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzQ1MzMsIm5iZiI6MTczOTAzNDIzMywicGF0aCI6Ii82NjU3MDE0LzM3Nzk2ODg5Mi1iZGRjOWU1Yi03Zjk0LTQ5NTAtYjViYy00NGM3M2ZjY2Y1MzQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMTcwMzUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWI3ZGMzOWIxMWEzZGY0MzNmNDgwZTBjYjE1ODlhYTI1ZGFlNjYyNzMzZDNjMTUzNDAzYjI4MjMwNjU5NTAxYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.u7pZUoBG4N_oV2iZRIulJvO3DoArd8-Y_X0gwmhIaWc)
Get the production license from Metajob- Job Board App with Nextjs & Strapi
Here’s the complete documentation in markdown format for easy copying and pasting:
Before starting, ensure you have the following installed on your machine:
- Node.js (v20 or higher)
- PostgreSQL (Ensure PostgreSQL is running and accessible)
- pnpm (Recommended for managing dependencies)
To install pnpm
, you can run the following command:
npm install -g pnpm
-
- Fork the repository to your GitHub account.
- Open the project in your preferred code editor (e.g., VS Code)
-
Inside both
apps/backend
andapps/site
, you will find.env.example
files. -
Rename these files to
.env
:apps/backend/.env.example
→apps/backend/.env
apps/site/.env.example
→apps/site/.env
-
Update the environment variables with your specific configuration. Ensure you provide the correct values for PostgreSQL and other necessary services.
Example
.env
file structure:DATABASE_URL=postgres://user:password@localhost:5432/mydatabase NEXT_PUBLIC_API_URL=http://localhost:1337
-
Ensure your PostgreSQL database is set up and running before proceeding.
export LICENSE_TOKEN='You will recive license on confirmation email'
@padma:registry=https://api.keygen.sh/v1/accounts/88de7a21-b541-48e5-8727-f992ebeb43fa/artifacts/
//api.keygen.sh/v1/accounts/88de7a21-b541-48e5-8727-f992ebeb43fa/artifacts/:_authToken=$LICENSE_TOKEN
From the root of your project directory, run the following command to install all dependencies:
pnpm install
- Navigate to the root directory and run the backend using the following command:
pnpm -F @padma/backend dev
- Strapi backend will now be running at
http://localhost:1337
.
- In a new terminal, run the frontend application:
pnpm -F @padma/frontend dev
- Next.js frontend will be running at
http://localhost:3000
.
To be added later.
To be added later.
-
Backend: Powered by a headless Strapi CMS with PostgreSQL as the database. Learn more about Strapi
-
Frontend: Built with Next.js for fast rendering and MUI for a modern, responsive user interface.
-
apps/backend:
└── The backend is built with Strapi, providing APIs to power the frontend. -
apps/site:
└── This is the frontend of the project, built using Next.js and MUI. -
apps/packages:
└── Contains reusable components, such as themes.@padma/metajob-ui:
└── This package includes the theme for the job listing solution.