Giter Site home page Giter Site logo

ivandoric / making-websites-with-next.js-and-strapi Goto Github PK

View Code? Open in Web Editor NEW
128.0 3.0 47.0 826 KB

This is a repository for video tutorial series about Making Websites With Next.js and Strapi. You can check out the series here:

JavaScript 61.47% Shell 0.19% HTML 32.81% PHP 5.53%

making-websites-with-next.js-and-strapi's Introduction

It is a repository for "Making Websites With Next.js And Strapi" Tutorial-Series. You can check out the series here.

You can go to releases to download the code for most of the videos in the series. Releases are made per episode.

making-websites-with-next.js-and-strapi's People

Contributors

ivandoric avatar vipul-droid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

making-websites-with-next.js-and-strapi's Issues

Getting Data But not displaying Data on Page

Hi,

Here is the link to my Repo.

Just want to say thanks so much for your videos on this!
So in my project, I've been able to get the Data from Strapi cause I can see it as JSON in my console.

However following your steps exactly, I just cannot display the data on my index.js home page.

So I searched high and low on how to get the Data to show. and in Card.js was able to show the title from my Strapi entries and I was able to display the title only.

Here are the labels. The news post API name is newsposts.
Screen Shot 2020-06-09 at 1 37 08 PM

Now recently Ive been getting this error:

Screen Shot 2020-06-09 at 1 44 44 PM

I hope you can help as I dont know where to turn to for help.

Im just trying to be able to display the title and image in the card.js which displays on the index page.

Digital Ocean Litespeed Error

Hi,

I'm having an issue with getting litespeed to work.

As you can see, i've allowed the ports as per your instructions, however I cannot access the litespeed password.

Screen Shot 2020-06-15 at 1 42 50 PM

Then, when I go to the ip in the browser, the page works until I enter in '7080' port. Then it gives me this error and wont let me proceed.

Screen Shot 2020-06-15 at 1 43 18 PM

Any thoughts?

Infinite Scrolling

Hello!

How can you set the limit for the amount of posts you want to fetch if the API is not yours and does not have the ?_limit option?

Thank you!

Deploy on custom server

Hello Ivan!!!

Thanks for your great series. I have learned a lot with your videos.

I enjoy your Next.js and strapi series, but one question for your further episodes. What I still not understand is, how to deploy next or nuxt apps on a custom server, like 1and1. I only find tutorials for deployment on netlify etc. WIll you cover this topic in your episodes?

Thank you in advance!!!
Gerald @MateThemes

TypeError: Only absolute URLs are supported

Hi I git clone the master branch and do yarn to install node modules.
When I do yarn dev I have the following error:

image

The console output:

index.js:247 Uncaught     at getNodeRequestOptions (file:///home/tingkai/nextjs_app/Making-Websites-With-Next.js-And-Strapi/node_modules/next/dist/compiled/node-fetch/index.js:1:145647)
    at <unknown> (file:///home/tingkai/nextjs_app/Making-Websites-With-Next.js-And-Strapi/node_modules/next/dist/compiled/node-fetch/index.js:1:147021)
    at new Promise (<anonymous>)
    at fetch (file:///home/tingkai/nextjs_app/Making-Websites-With-Next.js-And-Strapi/node_modules/next/dist/compiled/node-fetch/index.js:1:146956)
    at Function.module.exports../pages/_app.js.MyApp.getInitialProps (file:///home/tingkai/nextjs_app/Making-Websites-With-Next.js-And-Strapi/.next/server/pages/_app.js:2929:78)
    at loadGetInitialProps (file:///home/tingkai/nextjs_app/Making-Websites-With-Next.js-And-Strapi/node_modules/next/dist/next-server/lib/utils.js:5:101)
    at renderToHTML (file:///home/tingkai/nextjs_app/Making-Websites-With-Next.js-And-Strapi/node_modules/next/dist/next-server/server/render.js:22:1221)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async (file:///home/tingkai/nextjs_app/Making-Websites-With-Next.js-And-Strapi/node_modules/next/dist/next-server/server/next-server.js:76:329)
    at async (file:///home/tingkai/nextjs_app/Making-Websites-With-Next.js-And-Strapi/node_modules/next/dist/next-server/server/next-server.js:75:142)

Do you have any thoughts on what could be wrong?
Thanks!

Other info

OS: WSL2 Ubuntu 20.04 LTS
node: v14.5.0

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.