A photography portfolio site built with React on the front-end

A photography portfolio site built with React on the front-end

A photography portfolio site built with React on the front-end. It uses GraphQL and Apollo Client to communicate with the back-end. The server exposes a single GraphQL endpoint and it is built with Apollo Server, Mongoose and MongoDB. It features JWT authentication and takes advantage of the AWS S3 cloud storage.

Lost in a Postcard

A photography portfolio site built with React on the front-end. It uses GraphQL and Apollo Client to communicate with the back-end. The server is built with Apollo Server, Mongoose and MongoDB and exposes a single GraphQL endpoint. It features JWT authentication and uses the AWS S3 cloud storage.

Development

Install dependencies using npm i && npm i --prefix src/client. This command will install both sever and client side dependencies.

To run the app, create .env file in the root directory and provide:

PORT
DATABASE_URL
JWT_SECRET
ADMIN_PASSWORD=<random_string>
S3_ACCESS_KEY_ID
S3_SECRET_ACCESS_KEY
S3_BUCKET_NAME
S3_FOLDER_NAME=<random_string>

To boot the app in the development mode, run npm run dev. Open http://localhost:3000 to view it in the browser.

Test

The app uses jest and puppeteer to perfom integration tests in order to make sure all the separate parts of the app are working nicely with each other. To run tests in your development environment, run npm run test script.

Continuous Integration

The app uses the Travis CI as the CI provider. The script responsible for testing is npm run test:ci.

Production

To view the app in production, visit lostinapostcard.herokuapp.com.

Download Details:

Author: managervcf

Demo: https://lostinapostcard.herokuapp.com/

Source Code: https://github.com/managervcf/lost-in-a-postcard

react reactjs javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

Increase Performance of React Applications Via Array JavaScript Methods

Increase Performance of React Applications Via Array JavaScript Methods. We will create a simple event management application in the react to add, update, and delete an event.

Routing in React without React-Router

I have been using React JS in my projects for quite some time now and am used to managing routing in my app using the react-router package. I have always been keen on having as little dependencies in my apps as possible, so, I always felt perturbed by the use of this particular package in simpler apps which did not have complex routes.

The Ugly Side of React Hooks

In this post, I will share my own point of view about React Hooks, and as the title of this post implies, I am not a big fan.

Forms of Composition in JavaScript and React

One of the core ideas in functional programming is composition: building larger things from smaller things. The canonical example of this idea should be familiar with legos.