January 2020 Summaries
2 posts from CircleCI
Filter
Month:
Year:
Post Summaries
Back to Blog
Laravel is a popular open-source PHP framework for building RESTful APIs, which simplifies testing API endpoints with its user-friendly testing suite. In a detailed tutorial, users are guided to develop a token-based authentication API using Laravel, configure it for testing with SQLite, and automate the build and testing process through CircleCI. The steps include scaffolding a Laravel application, setting up databases, implementing token-based authentication with Laravel Passport, creating API endpoints for user registration, login, logout, and profile access, and writing tests for these endpoints. Additionally, the tutorial describes creating a CI/CD pipeline with CircleCI to automate testing processes, demonstrating how to manage dependencies, set up environments, and run migrations. This approach enables developers to streamline their workflows and integrate automated testing into their Laravel API projects, enhancing efficiency and reliability in deployment.
Jan 27, 2020
2,433 words in the original blog post.
Vue.js developers using Nuxt.js can leverage DevOps practices such as continuous integration and continuous deployment to enhance their software development process by deploying their applications on GitHub Pages through CircleCI. The article provides a step-by-step guide, beginning with creating a Nuxt.js project and connecting it to a GitHub repository, followed by setting up Jest for testing. Developers are instructed to configure the build script using the `nuxt generate` command and set the appropriate router base for deployment to GitHub Pages. The CircleCI deployment script involves installing necessary packages, running tests, building the project, and deploying it using the `gh-pages` package, which facilitates pushing files to a special branch for GitHub Pages deployment. The guide also covers setting up authentication to GitHub using SSH keys to ensure a secure connection for deployment. By following this process, developers can automate the deployment of their server-side rendered applications, ensuring a seamless and efficient workflow.
Jan 13, 2020
2,801 words in the original blog post.