Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building a Hospital Content Management System with Strapi and Next.js #1508

Open
1 task done
okosaleo opened this issue Jul 31, 2024 · 14 comments
Open
1 task done

Building a Hospital Content Management System with Strapi and Next.js #1508

okosaleo opened this issue Jul 31, 2024 · 14 comments
Assignees
Labels
In progress Tutorial being created Intermediate Expertise

Comments

@okosaleo
Copy link

What is your article idea?

This article will teach readers how to build a Hospital content management system with Next.js and Strapi with an admin dashboard, patient info, different sectors for the hospital on the frontend and authentication for admin users.

What are the objectives of your article?

1. Introduction

  • Overview: Build a robust CMS for hospitals using Strapi (headless CMS) and Next.js (React framework).
  • Benefits: Flexible content management, server-side rendering, and improved user experience.

2. Project Setup

  • Environment: Ensure Node.js and npm/yarn are installed.

  • Strapi Setup: Create a Strapi project, configure the database, and set up content types.

  • Next.js Setup: Initialize a Next.js project for frontend development.

3. Designing CMS Architecture

  • Content Types: Define models for Patient Records, Appointments, Medical Staff, and Departments.
  • Relationships: Establish content relationships like Patients to Appointments and Staff to Departments.

4. Building the Backend with Strapi

  • Content Types: Create and configure models and fields in Strapi.
  • User Roles: Set permissions for different roles (Admin).
  • API Endpoints: Utilize Strapi’s APIs to manage and fetch data.

5. Developing the Frontend with Next.js

  • Data Fetching: Retrieve data from Strapi.
  • Pages & Components: Build key pages like Patient Dashboard and Appointment Management.
  • Authentication: Implement secure access using JWT or OAuth.

6. Deployment and Maintenance

  • Deployment: Deploy Strapi backend (e.g., Heroku) and Next.js frontend (e.g., Vercel).
  • Maintenance: Monitor performance, implement scaling strategies, and plan for future enhancements.

7. Conclusion

  • Summary: Recap the CMS development process and the advantages of using Strapi and Next.js.

What is your expertise as a developer or writer?

Advance

What type of post is this?

Tutorial

Terms & Conditions

  • I have read the Write for the Community program guidelines.
@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Hi @okosaleo,

This looks interesting. Could you please give me a walkthrough or user story of our application?

Meanwhile, are you willing to use Strapi 5 (https://strapi.io/five) for this project?

@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Hi @okosaleo ,

I hope you are doing great!

Could we have a Strapi 5 article on this: Strapi Policies and Middleware to secure user data? This is because Hospital data are always private.

What do you think?

@okosaleo
Copy link
Author

okosaleo commented Aug 22, 2024 via email

@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Thank you. Please proceed!

@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Hi @okosaleo 👋,

I hope you are doing great. I have got an update from my team.

  • Would you please be willing to cover the complexities of securing endpoints in Strapi, it can get quite complex?
  • When you mentioned this • API Endpoints: Utilize Strapi’s APIs to manage and fetch data. I am not sure if you meant use it out of the box, or create custom security with Policies and Middleware?

Please let me know your response. Thank you.

@okosaleo
Copy link
Author

okosaleo commented Aug 29, 2024 via email

@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Thank you!

@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Theodore-Kelechukwu-Onyejiaku commented Nov 12, 2024

Please would you be willing to turn in this article by this week or next?

@okosaleo
Copy link
Author

okosaleo commented Nov 12, 2024 via email

@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Hi @okosaleo, hope you’re well! Do you expect this to be ready this week or next? It’s been open for a while, so wrapping it up soon would be great.

Thanks!

@okosaleo
Copy link
Author

okosaleo commented Nov 21, 2024 via email

@okosaleo
Copy link
Author

okosaleo commented Nov 29, 2024

Hello I'm done with the article and here is the link

@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Hi @okosaleo,

Thank you for your contribution. Could you grant me access to view and edit the draft?

@okosaleo
Copy link
Author

Here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In progress Tutorial being created Intermediate Expertise
Projects
None yet
Development

No branches or pull requests

2 participants