Code Monkey home page Code Monkey logo

nuxt.js_strapi.io's Introduction

http://localhost:1337/graphql

strapi login

email: [email protected] password : Password1

front login

email: [email protected] password : Password1

Assessment

The assessment will be the following:

  • Create a very simple version of a backoffice tool that a business can use internally to manage their day-to-day business.

  • You will be building the following:

    • An admin should be able to login, no need for password reset or e-mail confirmation. We can create the user in the Strapi backend so no need for front-end user creation either.
    • The bearer token of the admin should be set as cookie so their login session is preserved.
    • Once logged in the admin should see a tabbed layout (their dashboard) where they can press trough.

    Tab one

    • Tab one should be a list view of Item which you will create in Strapi. Each item contains the following:
      • Name (text)
      • Date (datetime)
      • Important (Boolean)
    • At the bottom of the list it should be possible to add a new item. Use GraphQL by preference and Strapi to create them. Make sure to read up on strapi permissions for logged in users, otherwise you will get a 401.

    Tab two

    • Tab two should contain a ‘edit my profile’ form. This should contain the following:
      • First name (create this field on the strapi user as it’s custom)
      • Last name (create this field on the strapi user as it’s custom)
      • E-mail address
      • Password
      • Biography (Textarea)
    • It should be possible to logout from this tab as well, so add a logout button. Make sure to clear the cookie and return to login screen.

    In general

    • Use your own GIT provider and share the repo with me at the end.
    • Make sure only authenticated users can access the dashboard, use nuxt middleware for that to check if the user is logged in, if not redirect to login page
    • Make the requests yourself using apollo/axios. Do not use the strapi module for Nuxt to authenticate as this does not allow you to showcase your apollo/axios skills.
    • I mostly use GraphQL, but it’s a pre if you can use both GraphQL and REST. So it would be cool if you can use GraphQL for the Item management and REST for the user edit form.
    • Use the latest Strapi version for the backend and make sure to use postgres, no mysql.
    • I use Nuxt/Vue 3+ (latest) for my new projects but use Nuxt 2.17.1 for my existing projects. Moving with my existing projects from Nuxt 2 to Nuxt3 is time consuming and something I have not done and might never do. It’s up to you which one to use for this assessment.
    💡 It’s a plus when you do it in Typescript by using interfaces etc.

🚀 Getting started with Strapi

Strapi comes with a full featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds.

develop

Start your Strapi application with autoReload enabled. Learn more

npm run develop
# or
yarn develop

start

Start your Strapi application with autoReload disabled. Learn more

npm run start
# or
yarn start

build

Build your admin panel. Learn more

npm run build
# or
yarn build

⚙️ Deployment

Strapi gives you many possible deployment options for your project including Strapi Cloud. Browse the deployment section of the documentation to find the best solution for your use case.

📚 Learn more

  • Resource center - Strapi resource center.
  • Strapi documentation - Official Strapi documentation.
  • Strapi tutorials - List of tutorials made by the core team and the community.
  • Strapi blog - Official Strapi blog containing articles made by the Strapi team and the community.
  • Changelog - Find out about the Strapi product updates, new features and general improvements.

Feel free to check out the Strapi GitHub repository. Your feedback and contributions are welcome!

✨ Community

  • Discord - Come chat with the Strapi community including the core team.
  • Forum - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
  • Awesome Strapi - A curated list of awesome things related to Strapi.

🤫 Psst! Strapi is hiring.

useful links: https://tute.io/install-configure-strapi-postgresql https://strapi.io/blog/strapi-authentication-in-nuxt-js https://quirky-heat-f4b.notion.site/Assessment-1957b1ad71f946868d7bb7e8ae4c4104 https://strapi.io/blog/setting-up-a-nuxt-app-with-strapi-using-graphql-building-an-event-app https://quirky-heat-f4b.notion.site/Assessment-1957b1ad71f946868d7bb7e8ae4c4104

nuxt.js_strapi.io's People

Contributors

tmilost avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.